Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ReiserFS warning after storm and sudden shutoff
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
phillosophy
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 94

PostPosted: Mon May 30, 2005 7:24 pm    Post subject: ReiserFS warning after storm and sudden shutoff Reply with quote

I experience a storm last night which suddenly shutoff the gentoo box I was working on. Now when I start it back up, it loads grub and then the modules and such, however it stops after it says its tree checking the filesystem. I am unable to login to the box from the local console, however i can ssh into it to pull the following.

I ran dmesg and came up with the following in the last few lines:

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:0f.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci00:0f.1
ide0: BM-DMA at 0xe800-0xe807, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xe808-0xe80f, BIOS settings: hdc:DMA, hdd:pio
hda: HDS728040PLAT20, ATA DISK drive
blk: queue 803fd040, I/O limit 4095Mb (mask 0xffffffff)
hdc: AOPEN COM5232/AAH, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 80418239 sectors (41174 MB) w/1719KiB Cache, CHS=5005/255/63, UDMA(133)
hdc: attached ide-cdrom driver.
hdc: ATAPI 52X DVD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.12
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3
Initializing Cryptographic API
IEEE 802.2 LLC for Linux 2.1 (c) 1996 Tim Alpaerts
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
reiserfs: found format "3.6" with standard journal
reiserfs:warning: CONFIG_REISERFS_CHECK is set ON
reiserfs:warning: - it is slow mode for debugging.
reiserfs: checking transaction log (device ide0(3,3)) ...
for (ide0(3,3))
ide0(3,3): journal-1153: found in header: first_unflushed_offset 678, last_flushed_trans_id 8258
ide0(3,3): journal-1206: Starting replay from offset 678, trans_id 8259
ide0(3,3): journal-1299: Setting newest_mount_id to 22
ide0(3,3):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 160k freed
Adding Swap: 506036k swap-space (priority -1)

8139too Fast Ethernet driver 0.9.26
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 at 0xec00, 00:0f:ea:e8:94:9d, IRQ 18
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
PCI: Enabling device 00:09.0 (0080 -> 0082)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 03:01:06 May 28 2005
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1

any ideas how i can fix this?
Back to top
View user's profile Send private message
MickKi
Veteran
Veteran


Joined: 08 Feb 2004
Posts: 1173

PostPosted: Mon May 30, 2005 7:44 pm    Post subject: Reply with quote

I suspect that your ethernet card might have been cooked by high transient voltages generated by lightning. I've had a modem and parts of a PSU damaged in this way. Since then I've fitted a plug with a transient sink, which has so far worked! :wink:

To eliminate the possibility that your fs is corrupted I suggest that you boot your Gentoo LiveCD (or Knoppix, or whatever) and without mounting any drives run chkfs on each of your partitions (use chkfs.reiserfs or whatever is appropriate).

Then try to chroot into it and recompile the kernel with the relevant NIC driver (just as you had it when it worked last time). Exit the chroot and reboot.

If that doesn't fix it or show up more software errors, then the original assumption of a cooked NICseems a likely cause of your trouble - although your dmesg shows that the eth0 is eventually coming up. Did your adsl router/modem survived?

EDIT: Thinking about it a bit more, you may also want to reset your adsl modem and reflash the firmware.
_________________
Regards,
Mick
Back to top
View user's profile Send private message
phillosophy
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 94

PostPosted: Tue May 31, 2005 12:32 am    Post subject: Reply with quote

i rebooted the machine using the livecd and setup networking as normal. i attempted to run chkfs.reiserfs and it returns command not found. How do i run chkfs?

Am i supposed to mount the partitions and then chroot into /bin/bash first?
Back to top
View user's profile Send private message
Deepak420
Apprentice
Apprentice


Joined: 12 Jan 2005
Posts: 173
Location: Beantown

PostPosted: Tue May 31, 2005 4:53 am    Post subject: Reply with quote

reiserfsck --check
Back to top
View user's profile Send private message
phillosophy
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 94

PostPosted: Tue May 31, 2005 6:13 am    Post subject: Reply with quote

I ran reserfsck -- check and everything turned up normal on the root partition.

Yes, my cable modem survived the storm so i'm assuming my eth0 is ok.

I read some other postings which suggesting recompiling the kernel w/o acpi support? has anyone had any experience on that?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue May 31, 2005 8:31 am    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
MickKi
Veteran
Veteran


Joined: 08 Feb 2004
Posts: 1173

PostPosted: Tue May 31, 2005 11:13 am    Post subject: Reply with quote

phillosophy wrote:
I ran reserfsck -- check and everything turned up normal on the root partition.

Yes, my cable modem survived the storm so i'm assuming my eth0 is ok.

I read some other postings which suggesting recompiling the kernel w/o acpi support? has anyone had any experience on that?
OK, it's good news that your fs is healthy. If your machine worked before with ACPI support, it should also work now. Recompile your kernel exactly as you had it before with your chipset and NIC card selected, using the LiveCD to chroot into it. Also copy the networking congiguration from the LiveCD as the handbook suggests, into your chrooted system.

Then reboot and hopefully the problem should be solved.
_________________
Regards,
Mick
Back to top
View user's profile Send private message
phillosophy
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 94

PostPosted: Tue May 31, 2005 10:35 pm    Post subject: Reply with quote

i recompiled the kernel without the local acpi support and now the boot is even worse. It does get past grub and then it says uncompressing kernel...lists some stuff and stops at zone(0), zone(1), and such.

The funny thing is the box still allows me to ssh in. Is there something I can emerge or a log file I can find which posts what was loaded and listed on screen before it stopped during bootup?
Back to top
View user's profile Send private message
phillosophy
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 94

PostPosted: Tue May 31, 2005 10:36 pm    Post subject: Reply with quote

When I run Dmseg it lists something completely different than the details listed on the bootup following the uncompressing of the kernel.
Back to top
View user's profile Send private message
MickKi
Veteran
Veteran


Joined: 08 Feb 2004
Posts: 1173

PostPosted: Fri Jun 03, 2005 1:54 pm    Post subject: Reply with quote

phillosophy wrote:
i recompiled the kernel without the local acpi support and now the boot is even worse. It does get past grub and then it says uncompressing kernel...lists some stuff and stops at zone(0), zone(1), and such.

The funny thing is the box still allows me to ssh in. Is there something I can emerge or a log file I can find which posts what was loaded and listed on screen before it stopped during bootup?
You can try:
Code:
# nohup <command> &
will save the output of the command in your ~/nohup.out. You could choose to monitor a log, redirect stderr & stdout to a file, or perhaps if you run # nohup reboot, will show you what's going on. Someone more educated than me on the bash command line should be able to verify what will work. Alternatively do a couple of practice runs to see what you can capture.

PS. What does the dmesg show?
_________________
Regards,
Mick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum