2002-08-02 11:23:40

by Ed Tomlinson

[permalink] [raw]
Subject: [BUG] 2.5.30 ide problems booting

Hi,

I get the following booting 2.5.30:

Linux version 2.5.30 (ed@oscar) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Thu Aug 1 21:16:02 EDT 2002
Video mode to be used for restore is f00
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux25 ro root=2103 console=tty0 console=ttyS0,38400 video=matrox:mem:32 idebus=33
idebus=33
Initializing CPU#0
Detected 400.879 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 790.52 BogoMIPS
Memory: 516836k/524224k available (1076k kernel code, 7004k reserved, 324k data, 208k init, 0k highmem)
Security Scaffold v1.0.0 initialized
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Enabling new style K6 write allocation for 511 Mb
CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
CPU: L2 Cache: 256K (32 bytes/line)
CPU: AMD-K6(tm) 3D+ Processor stepping 01
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: AMD K6
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfb520, last bus=1
PCI: Using configuration type 1
usb.c: registered new driver usbfs
usb.c: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0586] at 00:07.0
Starting kswapd
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec: init pool 0, 1 entries, 12 bytes
biovec: init pool 1, 4 entries, 48 bytes
biovec: init pool 2, 16 entries, 192 bytes
biovec: init pool 3, 64 entries, 768 bytes
biovec: init pool 4, 128 entries, 1536 bytes
biovec: init pool 5, 256 entries, 3072 bytes
Capability LSM initialized
Activating ISA DMA hang workarounds.
Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
matroxfb: Matrox Millennium G400 MAX (AGP) detected
matroxfb: MTRR's turned on
matroxfb: 640x480x8bpp (virtual: 640x26208)
matroxfb: framebuffer at 0xE8000000, mapped to 0xe0805000, size 33554432
Console: switching to colour frame buffer device 80x30
fb0: MATROX VGA frame buffer device
pty: 256 Unix98 ptys configured
block: 256 slots per queue, batch=32
ATA/ATAPI device driver v7.0.0
ATA: PCI bus speed 33.3MHz
ATA: VIA Technologies, Inc. Bus Master IDE, PCI slot 00:07.1
ATA: chipset rev.: 6
ATA: non-legacy mode: IRQ probe delayed
VP_IDE: VIA vt82c586b (rev 47) ATA UDMA33 controller on PCI 00:07.1
ide0: BM-DMA at 0xa000-0xa007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xa008-0xa00f, BIOS settings: hdc:DMA, hdd:DMA
ATA: Promise Technology, Inc. 20267, PCI slot 00:09.0
PCI: Found IRQ 12 for device 00:09.0
ATA: chipset rev.: 2
ATA: non-legacy mode: IRQ probe delayed
Promise Technology, Inc. 20267: ROM enabled at 0xeb000000
Promise Technology, Inc. 20267: (U)DMA BURST enabled, primary PCI mode, secondary PCI mode.
ide2: BM-DMA at 0xbc00-0xbc07, BIOS settings: hde:DMA, hdf:pio
ide3: BM-DMA at 0xbc08-0xbc0f, BIOS settings: hdg:DMA, hdh:DMA
hda: QUANTUM FIREBALLP KA13.6, DISK drive
hdc: CD-ROM 50X, ATAPI CD/DVD-ROM drive
hdd: HP COLORADO 20GB, ATAPI TAPE drive
hde: QUANTUM FIREBALLP AS40.0, DISK drive
hdg: QUANTUM FIREBALLP AS40.0, DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xac00-0xac07,0xb002 on irq 12
ide3 at 0xb400-0xb407,0xb802 on irq 12
hda: 27067824 sectors w/371KiB Cache, CHS=26853/16/63, UDMA(33)
hda: hda1 hda2 hda3 hda4 < hda5 >
hde: 78177792 sectors w/1902KiB Cache, CHS=77557/16/63, UDMA(100)
hde: hde1 hde2 hde3 hde4 < hde5 >
hdg: 78177792 sectors w/1902KiB Cache, CHS=77557/16/63, UDMA(100)
hdg: hdg1 hdg2 hdg3 hdg4 < hdg5 >
uhci-hcd.c: USB Universal Host Controller Interface driver v2.0
hcd-pci.c: uhci-hcd @ 00:07.2, VIA Technologies, Inc. UHCI USB
hcd-pci.c: irq 10, io base 0000a400
hcd.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found at /
hub.c: 2 ports detected
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device ide2(33,3), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (ide2(33,3)) for (ide2(33,3))
hde: dma_intr: bad DMA status (dma_stat=36)
hde: ide_dma_intr: status=0x50 [ drive ready,seek complete]
hde: request error, nr. 1

The system did work compile from the bk tree before ide 110/111 were added.

Ed Tomlinson


2002-08-02 11:30:58

by Marcin Dalecki

[permalink] [raw]
Subject: Re: [BUG] 2.5.30 ide problems booting

Uz.ytkownik Ed Tomlinson napisa?:
> Hi,
>
> I get the following booting 2.5.30:
>
> Linux version 2.5.30 (ed@oscar) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Thu Aug 1 21:16:02 EDT 2002
> Video mode to be used for restore is f00
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
> BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
> BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
> BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
> BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
> 511MB LOWMEM available.
> On node 0 totalpages: 131056
> zone(0): 4096 pages.
> zone(1): 126960 pages.
> zone(2): 0 pages.
> Kernel command line: BOOT_IMAGE=Linux25 ro root=2103 console=tty0 console=ttyS0,38400 video=matrox:mem:32 idebus=33
> idebus=33
> Initializing CPU#0
> Detected 400.879 MHz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 790.52 BogoMIPS
> Memory: 516836k/524224k available (1076k kernel code, 7004k reserved, 324k data, 208k init, 0k highmem)
> Security Scaffold v1.0.0 initialized
> Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
> Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> Enabling new style K6 write allocation for 511 Mb
> CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
> CPU: L2 Cache: 256K (32 bytes/line)
> CPU: AMD-K6(tm) 3D+ Processor stepping 01
> Checking 'hlt' instruction... OK.
> POSIX conformance testing by UNIFIX
> mtrr: v1.40 (20010327) Richard Gooch ([email protected])
> mtrr: detected mtrr type: AMD K6
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> PCI: PCI BIOS revision 2.10 entry at 0xfb520, last bus=1
> PCI: Using configuration type 1
> usb.c: registered new driver usbfs
> usb.c: registered new driver hub
> PCI: Probing PCI hardware
> PCI: Probing PCI hardware (bus 00)
> PCI: Using IRQ router VIA [1106/0586] at 00:07.0
> Starting kswapd
> BIO: pool of 256 setup, 14Kb (56 bytes/bio)
> biovec: init pool 0, 1 entries, 12 bytes
> biovec: init pool 1, 4 entries, 48 bytes
> biovec: init pool 2, 16 entries, 192 bytes
> biovec: init pool 3, 64 entries, 768 bytes
> biovec: init pool 4, 128 entries, 1536 bytes
> biovec: init pool 5, 256 entries, 3072 bytes
> Capability LSM initialized
> Activating ISA DMA hang workarounds.
> Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing disabled
> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
> matroxfb: Matrox Millennium G400 MAX (AGP) detected
> matroxfb: MTRR's turned on
> matroxfb: 640x480x8bpp (virtual: 640x26208)
> matroxfb: framebuffer at 0xE8000000, mapped to 0xe0805000, size 33554432
> Console: switching to colour frame buffer device 80x30
> fb0: MATROX VGA frame buffer device
> pty: 256 Unix98 ptys configured
> block: 256 slots per queue, batch=32
> ATA/ATAPI device driver v7.0.0
> ATA: PCI bus speed 33.3MHz
> ATA: VIA Technologies, Inc. Bus Master IDE, PCI slot 00:07.1
> ATA: chipset rev.: 6
> ATA: non-legacy mode: IRQ probe delayed
> VP_IDE: VIA vt82c586b (rev 47) ATA UDMA33 controller on PCI 00:07.1
> ide0: BM-DMA at 0xa000-0xa007, BIOS settings: hda:DMA, hdb:DMA
> ide1: BM-DMA at 0xa008-0xa00f, BIOS settings: hdc:DMA, hdd:DMA
> ATA: Promise Technology, Inc. 20267, PCI slot 00:09.0
> PCI: Found IRQ 12 for device 00:09.0
> ATA: chipset rev.: 2
> ATA: non-legacy mode: IRQ probe delayed
> Promise Technology, Inc. 20267: ROM enabled at 0xeb000000
> Promise Technology, Inc. 20267: (U)DMA BURST enabled, primary PCI mode, secondary PCI mode.
> ide2: BM-DMA at 0xbc00-0xbc07, BIOS settings: hde:DMA, hdf:pio
> ide3: BM-DMA at 0xbc08-0xbc0f, BIOS settings: hdg:DMA, hdh:DMA
> hda: QUANTUM FIREBALLP KA13.6, DISK drive
> hdc: CD-ROM 50X, ATAPI CD/DVD-ROM drive
> hdd: HP COLORADO 20GB, ATAPI TAPE drive
> hde: QUANTUM FIREBALLP AS40.0, DISK drive
> hdg: QUANTUM FIREBALLP AS40.0, DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> ide2 at 0xac00-0xac07,0xb002 on irq 12
> ide3 at 0xb400-0xb407,0xb802 on irq 12
> hda: 27067824 sectors w/371KiB Cache, CHS=26853/16/63, UDMA(33)
> hda: hda1 hda2 hda3 hda4 < hda5 >
> hde: 78177792 sectors w/1902KiB Cache, CHS=77557/16/63, UDMA(100)
> hde: hde1 hde2 hde3 hde4 < hde5 >
> hdg: 78177792 sectors w/1902KiB Cache, CHS=77557/16/63, UDMA(100)
> hdg: hdg1 hdg2 hdg3 hdg4 < hdg5 >
> uhci-hcd.c: USB Universal Host Controller Interface driver v2.0
> hcd-pci.c: uhci-hcd @ 00:07.2, VIA Technologies, Inc. UHCI USB
> hcd-pci.c: irq 10, io base 0000a400
> hcd.c: new USB bus registered, assigned bus number 1
> hub.c: USB hub found at /
> hub.c: 2 ports detected
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP
> IP: routing cache hash table of 4096 buckets, 32Kbytes
> TCP: Hash tables configured (established 32768 bind 32768)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> found reiserfs format "3.6" with standard journal
> Reiserfs journal params: device ide2(33,3), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
> reiserfs: checking transaction log (ide2(33,3)) for (ide2(33,3))
> hde: dma_intr: bad DMA status (dma_stat=36)
> hde: ide_dma_intr: status=0x50 [ drive ready,seek complete]
> hde: request error, nr. 1
>
> The system did work compile from the bk tree before ide 110/111 were added.

But I guess that there where ide_dma_intr error messages still in the
log?

2002-08-02 16:09:16

by Andre Hedrick

[permalink] [raw]
Subject: Re: [BUG] 2.5.30 ide problems booting

On Fri, 2 Aug 2002, Ed Tomlinson wrote:

> reiserfs: checking transaction log (ide2(33,3)) for (ide2(33,3))
> hde: dma_intr: bad DMA status (dma_stat=36)
> hde: ide_dma_intr: status=0x50 [ drive ready,seek complete]
> hde: request error, nr. 1

How the heck did you get get bit 4 of the dma_status register to report
anything other than "0" ??

Next "HTH", did it manage to invoke an DMA Error and Interrupt and return
a the drive back in to command mode with a 50 stat ?

I have never been so amazed by this driver's ablity to invoke hardware
events that can not happen.



Andre Hedrick
LAD Storage Consulting Group

2002-08-03 19:04:12

by Ville Herva

[permalink] [raw]
Subject: Re: [BUG] 2.5.30 ide problems booting

Trying to boot 2.5.30 with an ext2 fs on a cdrom is a no-go. As soon as the
rootfs (ext2 on /dev/hdc = cdrom) is accessed, the kernel hangs.

Below are a couple of alt-sysrq-p's ran through ksymoops:

----------------------------------------------------------------
Pid: 1, comm: swapper
EIP: 0010:[<c016b2b4>] CPU: 0 EFLAGS: 00000293 Not tainted
EAX: b85c4750 EBX: 00001388 ECX: b85c38fb EDX: 000070a9
ESI: c02ba7e0 EDI: 00001388 EBP: c02ba7f4 DS: 0018 ES: 0018
CR0: 8005003b CR2: 00000000 CR3: 00101000 CR4: 000006d0
Call Trace: [<c01a76cb>] [<c01a9a4b>] [<c01a9fd7>] [<c01b08d0>]
[<c0109f3a>]
[<c010a0f1>] [<c0108c94>] [<c01a7938>] [<c01a7aa7>] [<c01af923>]
[<c01b0331>]
[<c01b08d0>] [<c01b0120>] [<c01b0993>] [<c01b08d0>] [<c01b029b>]
[<c01b09d9>]
[<c01b0950>] [<c01b1224>] [<c01a9aa7>] [<c0193083>] [<c019321e>]
[<c0139cc5>]
[<c0125e65>] [<c0110d30>] [<c0125ea3>] [<c0127079>] [<c0118644>]
[<c015d790>]
[<c015b78f>] [<c015d790>] [<c015baeb>] [<c015bc78>] [<c015e7d7>]
[<c0148659>]
[<c013f8ec>] [<c013fba0>] [<c0140524>] [<c011b735>] [<c013ffe2>]
[<c011b791>]
[<c0118644>] [<c0189ae9>] [<c0140dc4>] [<c01350b6>] [<c0135485>]
[<c0108b4f>]
[<c01050d5>] [<c0105060>] [<c01071a1>]
Warning (Oops_read): Code line not seen, dumping what data is available

>>EIP; c016b2b4 <__rdtsc_delay+14/20> <=====
Trace; c01a76cb <ata_status_poll+4b/110>
Trace; c01a9a4b <do_ide_request+21b/2e0>
Trace; c01a9fd7 <ata_irq_request+107/150>
Trace; c01b08d0 <cdrom_seek_intr+0/80>
Trace; c0109f3a <handle_IRQ_event+3a/60>
Trace; c010a0f1 <do_IRQ+a1/130>
Trace; c0108c94 <common_interrupt+18/20>
Trace; c01a7938 <ata_write_32+18/20>
Trace; c01a7aa7 <ata_write+37/60>
Trace; c01af923 <atapi_write+33/60>
Trace; c01b0331 <cdrom_transfer_packet_command+81/90>
Trace; c01b08d0 <cdrom_seek_intr+0/80>
Trace; c01b0120 <cdrom_timer_expiry+0/40>
Trace; c01b0993 <cdrom_start_seek_continuation+43/50>
Trace; c01b08d0 <cdrom_seek_intr+0/80>
Trace; c01b029b <cdrom_start_packet_command+13b/150>
Trace; c01b09d9 <cdrom_start_seek+39/40>
Trace; c01b0950 <cdrom_start_seek_continuation+0/50>
Trace; c01b1224 <ide_cdrom_do_request+94/160>
Trace; c01a9aa7 <do_ide_request+277/2e0>
Trace; c0193083 <generic_unplug_device+73/a0>
Trace; c019321e <blk_run_queues+8e/a0>
Trace; c0139cc5 <block_sync_page+5/10>
Trace; c0125e65 <__lock_page+95/c0>
Trace; c0110d30 <default_wake_function+0/40>
Trace; c0125ea3 <lock_page+13/20>
Trace; c0127079 <read_cache_page+a9/100>
Trace; c0118644 <tasklet_hi_action+44/70>
Trace; c015d790 <ext2_readpage+0/20>
Trace; c015b78f <ext2_get_page+1f/70>
Trace; c015d790 <ext2_readpage+0/20>
Trace; c015baeb <ext2_find_entry+7b/190>
Trace; c015bc78 <ext2_inode_by_name+18/30>
Trace; c015e7d7 <ext2_lookup+27/a0>
Trace; c0148659 <d_alloc+19/170>
Trace; c013f8ec <real_lookup+4c/d0>
Trace; c013fba0 <do_lookup+b0/200>
Trace; c0140524 <link_path_walk+834/8f0>
Trace; c011b735 <update_process_times+25/30>
Trace; c013ffe2 <link_path_walk+2f2/8f0>
Trace; c011b791 <timer_bh+31/2c0>
Trace; c0118644 <tasklet_hi_action+44/70>
Trace; c0189ae9 <scrup+69/120>
Trace; c0140dc4 <open_namei+84/410>
Trace; c01350b6 <filp_open+36/60>
Trace; c0135485 <sys_open+35/70>
Trace; c0108b4f <syscall_call+7/b>
Trace; c01050d5 <init+75/190>
Trace; c0105060 <init+0/190>
Trace; c01071a1 <kernel_thread_helper+5/14>
----------------------------------------------------------------


----------------------------------------------------------------
Pid: 1, comm: swapper
EIP: 0010:[<c016b2b4>] CPU: 0 EFLAGS: 00000297 Not tainted
EAX: 92f9d784 EBX: 00001388 ECX: 92f9cc81 EDX: 00007097
ESI: c02ba7e0 EDI: 00000010 EBP: 00000000 DS: 0018 ES: 0018
CR0: 8005003b CR2: 00000000 CR3: 00101000 CR4: 000006d0
Call Trace: [<c01a772a>] [<c01b11d0>] [<c01a9aa7>] [<c01a9fd7>] [<c01b08d0>]
[<c0109f3a>] [<c010a0f1>] [<c0108c94>] [<c01a7938>] [<c01a7aa7>]
[<c01af923>]
[<c01b0331>] [<c01b08d0>] [<c01b0120>] [<c01b0993>] [<c01b08d0>]
[<c01b029b>]
[<c01b09d9>] [<c01b0950>] [<c01b1224>] [<c01a9aa7>] [<c0193083>]
[<c019321e>]
[<c0139cc5>] [<c0125e65>] [<c0110d30>] [<c0125ea3>] [<c0127079>]
[<c0118644>]
[<c015d790>] [<c015b78f>] [<c015d790>] [<c015baeb>] [<c015bc78>]
[<c015e7d7>]
[<c0148659>] [<c013f8ec>] [<c013fba0>] [<c0140524>] [<c011b735>]
[<c013ffe2>]
[<c011b791>] [<c0118644>] [<c0189ae9>] [<c0140dc4>] [<c01350b6>]
[<c0135485>]
[<c0108b4f>] [<c01050d5>] [<c0105060>] [<c01071a1>]
Warning (Oops_read): Code line not seen, dumping what data is available

>>EIP; c016b2b4 <__rdtsc_delay+14/20> <=====
Trace; c01a772a <ata_status_poll+aa/110>
Trace; c01b11d0 <ide_cdrom_do_request+40/160>
Trace; c01a9aa7 <do_ide_request+277/2e0>
Trace; c01a9fd7 <ata_irq_request+107/150>
Trace; c01b08d0 <cdrom_seek_intr+0/80>
Trace; c0109f3a <handle_IRQ_event+3a/60>
Trace; c010a0f1 <do_IRQ+a1/130>
Trace; c0108c94 <common_interrupt+18/20>
Trace; c01a7938 <ata_write_32+18/20>
Trace; c01a7aa7 <ata_write+37/60>
Trace; c01af923 <atapi_write+33/60>
Trace; c01b0331 <cdrom_transfer_packet_command+81/90>
Trace; c01b08d0 <cdrom_seek_intr+0/80>
Trace; c01b0120 <cdrom_timer_expiry+0/40>
Trace; c01b0993 <cdrom_start_seek_continuation+43/50>
Trace; c01b08d0 <cdrom_seek_intr+0/80>
Trace; c01b029b <cdrom_start_packet_command+13b/150>
Trace; c01b09d9 <cdrom_start_seek+39/40>
Trace; c01b0950 <cdrom_start_seek_continuation+0/50>
Trace; c01b1224 <ide_cdrom_do_request+94/160>
Trace; c01a9aa7 <do_ide_request+277/2e0>
Trace; c0193083 <generic_unplug_device+73/a0>
Trace; c019321e <blk_run_queues+8e/a0>
Trace; c0139cc5 <block_sync_page+5/10>
Trace; c0125e65 <__lock_page+95/c0>
Trace; c0110d30 <default_wake_function+0/40>
Trace; c0125ea3 <lock_page+13/20>
Trace; c0127079 <read_cache_page+a9/100>
Trace; c0118644 <tasklet_hi_action+44/70>
Trace; c015d790 <ext2_readpage+0/20>
Trace; c015b78f <ext2_get_page+1f/70>
Trace; c015d790 <ext2_readpage+0/20>
Trace; c015baeb <ext2_find_entry+7b/190>
Trace; c015bc78 <ext2_inode_by_name+18/30>
Trace; c015e7d7 <ext2_lookup+27/a0>
Trace; c0148659 <d_alloc+19/170>
Trace; c013f8ec <real_lookup+4c/d0>
Trace; c013fba0 <do_lookup+b0/200>
Trace; c0140524 <link_path_walk+834/8f0>
Trace; c011b735 <update_process_times+25/30>
Trace; c013ffe2 <link_path_walk+2f2/8f0>
Trace; c011b791 <timer_bh+31/2c0>
Trace; c0118644 <tasklet_hi_action+44/70>
Trace; c0189ae9 <scrup+69/120>
Trace; c0140dc4 <open_namei+84/410>
Trace; c01350b6 <filp_open+36/60>
Trace; c0135485 <sys_open+35/70>
Trace; c0108b4f <syscall_call+7/b>
Trace; c01050d5 <init+75/190>
Trace; c0105060 <init+0/190>
Trace; c01071a1 <kernel_thread_helper+5/14>
----------------------------------------------------------------

I see a couple of ata_write's there - could trying to write to a ro media be
the culprit?

2.4.x is ok and 2.5.26 boots as well.


-- v --

[email protected]

2002-08-04 08:11:31

by Ville Herva

[permalink] [raw]
Subject: 2.5.30: buffer layer error at page-writeback.c:417

buffer layer error at page-writeback.c:417
Pass this trace through ksymoops for reporting
c11e7e10 000001a1 c3d1bc20 c108e458 c3d1bc20 c108e458 c11e7e38 c012a2db
c108e458 c108e460 c11e7e88 c0159ae9 c108e458 c335c68c c11e7e9c c0165a46
c335c68c c11e6000 c11e6000 c11e6000 c3d1bc48 c3d1bc38 c012a280 00000000
Call Trace: [<c012a2db>] [<c0159ae9>] [<c0165a46>] [<c012a280>] [<c0139697>]
[<c015891d>] [<c0158c8a>] [<c0158dd4>] [<c0158e57>] [<c013958d>] [<c0139178>]
[<c01391b0>] [<c01391c1>] [<c0139530>] [<c010769d>]

Trace; c012a2db <fail_writepage+5b/70>
Trace; c0159ae9 <mpage_writepages+269/310>
Trace; c0165a46 <ext2_free_blocks+146/370>
Trace; c012a280 <fail_writepage+0/70>
Trace; c0139697 <do_writepages+37/40>
Trace; c015891d <__sync_single_inode+ad/1f0>
Trace; c0158c8a <sync_sb_inodes+16a/240>
Trace; c0158dd4 <__writeback_unlocked_inodes+74/d0>
Trace; c0158e57 <writeback_unlocked_inodes+27/30>
Trace; c013958d <wb_kupdate+5d/a0>
Trace; c0139178 <__pdflush+1f8/230>
Trace; c01391b0 <pdflush+0/20>
Trace; c01391c1 <pdflush+11/20>
Trace; c0139530 <wb_kupdate+0/a0>
Trace; c010769d <kernel_thread_helper+5/18>


-- v --

[email protected]

2002-08-04 08:24:16

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.5.30: buffer layer error at page-writeback.c:417

Ville Herva wrote:
>
> buffer layer error at page-writeback.c:417
> Pass this trace through ksymoops for reporting

Is that on the ramdisk driver?

2002-08-04 09:22:29

by Ville Herva

[permalink] [raw]
Subject: Re: 2.5.30: buffer layer error at page-writeback.c:417

On Sun, Aug 04, 2002 at 01:37:22AM -0700, you [Andrew Morton] wrote:
> Ville Herva wrote:
> >
> > buffer layer error at page-writeback.c:417
> > Pass this trace through ksymoops for reporting
>
> Is that on the ramdisk driver?

(I should warn that this is on vmware - I don't dare to boot 2.5 on bare
metal yet).

I do have ramdisk mounted:

/dev/ram0 /mounts ext2 rw 0 0

but I haven't used it much at all. I'm not sure howto tell if ramdisk
triggered the problem. I will boot without it and see if it happens again,
but that won't tell for sure if it was ramdisk or not.

Root fs is ext2 on /dev/sda1.


-- v --

[email protected]

2002-08-04 10:32:50

by Ville Herva

[permalink] [raw]
Subject: Re: 2.5.30: buffer layer error at page-writeback.c:417

On Sun, Aug 04, 2002 at 12:25:43PM +0300, you [Ville Herva] wrote:
> On Sun, Aug 04, 2002 at 01:37:22AM -0700, you [Andrew Morton] wrote:
> > Ville Herva wrote:
> > >
> > > buffer layer error at page-writeback.c:417
> > > Pass this trace through ksymoops for reporting
> >
> > Is that on the ramdisk driver?
>
> (I should warn that this is on vmware - I don't dare to boot 2.5 on bare
> metal yet).
>
> I do have ramdisk mounted:
>
> /dev/ram0 /mounts ext2 rw 0 0

Ok, clean boot, no ramdisk, no errors.

Then I did
mkfs /dev/ram0; mount /dev/ram0 /mounts; cd /mounts; tar xzf /mounts.tgz

and then:

root@linux3:/>umount mounts
buffer layer error at page-writeback.c:417
Pass this trace through ksymoops for reporting
c12bfe54 000001a1 c3d1b0e0 c1009640 c3d1b0e0 c1009640 c12bfe7c c012a2db
c1009640 c1009648 c12bfecc c0159ae9 c1009640 c01095f4 00000000 c3e7fc74
c3e7fc74 c12be000 c12be000 c12be000 c3d1b108 c3d1b0f8 c012a280 00000000
Call Trace: [<c012a2db>] [<c0159ae9>] [<c01095f4>] [<c012a280>] [<c0139697>]
[<c012a309>] [<c013d853>] [<c013d8da>] [<c01416da>] [<c014214d>] [<c0154b24>]

Trace; c012a2db <fail_writepage+5b/70>
Trace; c0159ae9 <mpage_writepages+269/310>
Trace; c01095f4 <common_interrupt+18/20>
Trace; c012a280 <fail_writepage+0/70>
Trace; c0139697 <do_writepages+37/40>
Trace; c012a309 <filemap_fdatawrite+19/20>
Trace; c013d853 <sync_blockdev+23/50>
Trace; c013d8da <fsync_super+5a/90>
Trace; c01416da <generic_shutdown_super+4a/1b0>
Trace; c014214d <kill_block_super+1d/50>
Trace; c0154b24 <free_vfsmnt+24/40>

(Last time I didn't yet umount ramdisk.)


-- v --

[email protected]