Re: ATA problems(unlean fs) on recent cvsup

From: Simon Brown <slb-freebsd-current_at_silent.co.uk>
Date: Sun, 14 Sep 2003 13:43:57 +0100
Hi...

Sorry to do a me too, but I have a similar problem after a cvsup midday
on the 13th September. The previous kernel was pre-ATAng.

The machine panic'd after inserting a friends wireless PCMCIA card
(but that's probably another unrelated issue), rebooted and left
me in single user after failing to automatically run fsck. Prior to
that it had booted fine when the disks were clean.

Unfortunately, I wasn't able to copy down the exact error messages
it printed in the failed fsck_ufs. But they were definitely of the form
CANNOT WRITE BLK: xxxx and the fsck then died with a SIGABRT.

A manual fsck of the disks has got me back up and running and the machine
now boots multiuser without fsck terminating abnormally, but still seems
unable to resolve the inconsistencies on-disk.

http://www.silent.co.uk/freebsd/

... contains a dmesg and messages log of the failing background fsck
if they are of any help.

I will try to investigate further but please get in touch if there is more
information I can provide.

Cheers,
Si

On Sun, Sep 14, 2003 at 03:52:33PM +1000, Alastair G. Hogge wrote:
> Hello list,
> 
> I've recently cvsup'd current (14th of Sep). After a build and install
> world/kernel I rebooted to find some new and interesting kernel messages
> about ata? MPSAFE. Well as the booting continued I notcied the machine was
> going through more disk activity then usal. It was also taking alot longer
> to actully start. Eventully the kernel dropped into single user mode.
> 
> It appears my filesystem is playing up for some reason. I haven't had any
> power failures for random hangs/reboots.
> 
> After the recent cvsup my  /usr fs appears to be coruppt or something. In
> single user mode I'm unable fix the problem with fsck. At first when I had
> softupdates /usr fsck would give me messages like "UNEXPECTED SOFT UPDATE
> INCONSISTENCY" I turned of softupate to see if it would help...it didn't. I
> still can't fix the fs. I get output like "CANNOT WRITE BLK: xxx" and I'm
> always unable to salvage blks and what not.
> 
> Anyway my dmesg is as follows:
> Copyright (c) 1992-2003 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>  The Regents of the University of California. All rights reserved.
> FreeBSD 5.1-CURRENT #0: Sun Sep 14 12:59:35 EST 2003
>     agh_at_nova:/usr/obj/usr/src/sys/GENERIC
> Preloaded elf kernel "/boot/kernel.GENERIC/kernel" at 0xc0760000.
> Preloaded elf module "/boot/modules/acpi.ko" at 0xc076024c.
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Pentium(R) 4 CPU 2.53GHz (2533.05-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
> 
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
> ,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> real memory  = 536854528 (511 MB)
> avail memory = 513466368 (489 MB)
> Pentium Pro MTRR support enabled
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <ASUS   P4S8X   > on motherboard
> pcibios: BIOS version 2.10
> Using $PIR table, 11 entries at 0xc00f1720
> acpi0: power button is handled as a fixed feature programming model.
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
> acpi_cpu0: <CPU> on acpi0
> acpi_cpu1: <CPU> on acpi0
> acpi_button0: <Power Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib0: slot 2 INTA is routed to irq 11
> pcib0: slot 3 INTA is routed to irq 9
> pcib0: slot 3 INTB is routed to irq 9
> pcib0: slot 3 INTC is routed to irq 9
> pcib0: slot 14 INTA is routed to irq 11
> agp0: <SiS 648 host to AGP bridge> mem 0xe0000000-0xe7ffffff at device 0.0
> on pci0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> pcib1: slot 0 INTA is routed to irq 11
> pci1: <display, VGA> at device 0.0 (no driver attached)
> isab0: <PCI-ISA bridge> at device 2.0 on pci0
> isa0: <ISA bus> on isab0
> fwohci0: vendor=1039, dev=7007
> fwohci0: <1394 Open Host Controller Interface> mem 0xde800000-0xde800fff at
> device 2.3 on pci0
> pcib0: slot 2 INTB is routed to irq 5
> fwohci0: [MPSAFE]
> fwohci0: OHCI version 1.0 (ROM=1)
> fwohci0: No. of Isochronous channel is 4.
> fwohci0: EUI64 00:e0:18:00:00:0a:83:4c
> fwohci0: Phy 1394a available S400, 2 ports.
> fwohci0: Link S400, max_rec 2048 bytes.
> firewire0: <IEEE1394(FireWire) bus> on fwohci0
> if_fwe0: <Ethernet over FireWire> on firewire0
> if_fwe0: Fake Ethernet address: 02:e0:18:0a:83:4c
> sbp0: <SBP2/SCSI over firewire> on firewire0
> fwohci0: Initiate bus reset
> atapci0: <SiS 963 UDMA133 controller> port
> 0xb400-0xb40f,0xb800-0xb803,0xd000-0xd007,0xd400-0xd403,0xd800-0xd807 irq 11
> at device 2.5 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata0: [MPSAFE]
> ata1: at 0x170 irq 15 on atapci0
> ata1: [MPSAFE]
> pci0: <multimedia, audio> at device 2.7 (no driver attached)
> ohci0: <SiS 5571 USB controller> mem 0xde000000-0xde000fff irq 9 at device
> 3.0 on pci0
> usb0: OHCI version 1.0, legacy support
> usb0: SMM does not respond, resetting
> usb0: <SiS 5571 USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> ums0: KYE Genius USB Wheel Mouse, rev 1.00/2.42, addr 2, iclass 3/1
> ums0: 5 buttons and Z dir.
> ohci1: <SiS 5571 USB controller> mem 0xdd800000-0xdd800fff irq 9 at device
> 3.1 on pci0
> usb1: OHCI version 1.0, legacy support
> usb1: SMM does not respond, resetting
> usb1: <SiS 5571 USB controller> on ohci1
> usb1: USB revision 1.0
> uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> ohci2: <SiS 5571 USB controller> mem 0xdd000000-0xdd000fff irq 9 at device
> 3.2 on pci0
> usb2: OHCI version 1.0, legacy support
> usb2: SMM does not respond, resetting
> usb2: <SiS 5571 USB controller> on ohci2
> usb2: USB revision 1.0
> uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> pci0: <serial bus, USB> at device 3.3 (no driver attached)
> pci0: <multimedia, audio> at device 9.0 (no driver attached)
> pci0: <input device> at device 9.1 (no driver attached)
> rl0: <RealTek 8139 10/100BaseTX> port 0x8800-0x88ff mem
> 0xdb800000-0xdb8000ff at device 10.0 on pci0
> pcib0: slot 10 INTA is routed to irq 11
> rl0: Ethernet address: 00:50:bf:77:3c:97
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> atapci1: <Promise PDC20376 SATA150 controller> port
> 0x7800-0x787f,0x8000-0x800f,0x8400-0x843f mem
> 0xda800000-0xda81ffff,0xdb000000-0xdb000fff irq 11 at device 14.0 on pci0
> atapci1: [MPSAFE]
> ata2: at 0xdb000000 on atapci1
> ata2: [MPSAFE]
> ata3: at 0xdb000000 on atapci1
> ata3: [MPSAFE]
> ata4: at 0xdb000000 on atapci1
> ata4: [MPSAFE]
> fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
> 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/9 bytes threshold
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> sio0 port 0x3f8-0x3ff irq 4 on acpi0
> sio0: type 16550A
> sio1 port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> orm0: <Option ROM> at iomem 0xd0000-0xd3fff on isa0
> pmtimer0 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> Timecounter "TSC" frequency 2533054700 Hz quality 800
> Timecounters tick every 10.000 msec
> acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
> GEOM: create disk ad0 dp=0xc4169a70
> ad0: 38172MB <MAXTOR 6L040J2> [77557/16/63] at ata0-master UDMA133
> acd0: CDRW <SONY CD-RW CRX175E> at ata1-master PIO4
> Mounting root from ufs:/dev/ad0s2a
> 
> Please CC me.
> Thanks in advance
> -Al
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Sun Sep 14 2003 - 03:44:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC