Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Serverworks chipset driver bug in 2.6.18 series kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
GlueSniffinEd
n00b
n00b


Joined: 06 Aug 2005
Posts: 7

PostPosted: Thu Aug 03, 2006 4:32 am    Post subject: Serverworks chipset driver bug in 2.6.18 series kernel? Reply with quote

Well, I have tried upgrading to kernel 2.6.18-rc2 and 2.6.18-rc3, in both cases there appears to be a bug in the Serverworks chipset driver.

When attempting to boot the 2.6.18 series I get a kernel panic of unable to mount root device. A further inspection reveals that the driver appears to be treating the tertiary channel as the primary. When it attempts to boot the kernel off of the tertiary channel, HDE but it sees as HDA, it fails as my tertiary channel is not where it should be booting from; it should be booting from my primary IDE channel. It appears to treat the master on the tertiary channel as HDA, which it should not be doing. Rolling back to a 2.6.17 series kernel works absolutely perfectly.

For those not familiar with the Serverworks IDE chipset, it has three IDE channels where the tertiary channel is supposed to be only used for ATAPI devices and not HDD's. Since the driver is treating my tertiary CD-ROM as HDA it is failing at boot time to mount the root partition which is on the real HDA, primary IDE channel drive 0.

Below is my lspci output from a working 2.6.17 series kernel as well as my grub.conf; any ideas or suggestions would be greatly welcomed.

lspci:

00:00.0 Host bridge: Broadcom GCNB-LE Host Bridge (rev 32)
00:00.1 Host bridge: Broadcom GCNB-LE Host Bridge
00:02.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:05.0 Ethernet controller: Netgear GA620 Gigabit Ethernet (rev 01)
00:08.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0e.0 IDE interface: Broadcom CSB6 IDE Controller (rev a0)
00:0f.0 Host bridge: Broadcom CSB6 South Bridge (rev a0)
00:0f.1 IDE interface: Broadcom CSB6 RAID/IDE Controller (rev a0)
00:0f.2 USB Controller: Broadcom CSB6 OHCI USB Controller (rev 05)
00:0f.3 ISA bridge: Broadcom GCLE-2 Host Bridge

grub.conf:

default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=linux-2.6.17.6
root (hd0,0)
kernel /boot/vmlinuz-2.6.17.6 root=/dev/hda2 vga=792

title=linux-2.6.18-rc3
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-rc3 root=/dev/hda2 vga=792

title=memtest86
root (hd0,0)
kernel /boot/memtest86/memtest.bin
Back to top
View user's profile Send private message
GlueSniffinEd
n00b
n00b


Joined: 06 Aug 2005
Posts: 7

PostPosted: Thu Aug 10, 2006 7:09 am    Post subject: Reply with quote

Okay, the issue here appears that the 2.6.18 series kernel is incorrectly detecting my IDE channels.

hda/b is physically on channel 0, hdc/d is physically on channel 1, hde/f is physically on channel 2. 2.6.17 detects this correctly but it appears as though 2.6.18 is detecting channel 2 (formerly hde, my CD-ROM drive) as channel 0 hda; channel 0 is detected as hde; channel 1 is now detected as hdg/hdh. I'm not sure exactly where in the heck hdc/d went (formerly channel 1) as nothing appears to be detected as such. I have no additional IDE cards in this box and all drives are now jumpered cable select with the same results.

Any info or help would be greatly appreciated.

Unable to get a dmesg from 2.6.18 as it will not find my root filesystem, but here is my working dmesg and lspci output from the working 2.6.17 series.

lspci:
00:00.0 Host bridge: Broadcom GCNB-LE Host Bridge (rev 32)
00:00.1 Host bridge: Broadcom GCNB-LE Host Bridge
00:02.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:05.0 Ethernet controller: Netgear GA620 Gigabit Ethernet (rev 01)
00:08.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0e.0 IDE interface: Broadcom CSB6 IDE Controller (rev a0)
00:0f.0 Host bridge: Broadcom CSB6 South Bridge (rev a0)
00:0f.1 IDE interface: Broadcom CSB6 RAID/IDE Controller (rev a0)
00:0f.2 USB Controller: Broadcom CSB6 OHCI USB Controller (rev 05)
00:0f.3 ISA bridge: Broadcom GCLE-2 Host Bridge

dmesg:
Linux version 2.6.17.6 (root@livecd) (gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3. 4.5-1.0, pie-8.7.9)) #1 Fri Jul 21 01:27:26 EDT 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable)
BIOS-e820: 0000000017ff0000 - 0000000017ffec00 (ACPI data)
BIOS-e820: 0000000017ffec00 - 0000000017fff000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
383MB LOWMEM available.
found SMP MP-table at 000fe710
On node 0 totalpages: 98288
DMA zone: 4096 pages, LIFO batch:0
Normal zone: 94192 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v000 DELL ) @ 0x000fdc60
ACPI: RSDT (v001 DELL PE600SC 0x00000001 MSFT 0x0100000a) @ 0x000fdc74
ACPI: FADT (v001 DELL PE600SC 0x00000001 MSFT 0x0100000a) @ 0x000fdca4
ACPI: MADT (v001 DELL PE600SC 0x00000001 MSFT 0x0100000a) @ 0x000fdd18
ACPI: SPCR (v001 DELL PE600SC 0x00000001 MSFT 0x0100000a) @ 0x000fdda0
ACPI: DSDT (v001 DELL PE600SC 0x00000001 MSFT 0x0100000a) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:1 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] disabled)
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-15
ACPI: IOAPIC (id[0x02] address[0xfec01000] gsi_base[16])
IOAPIC[1]: apic_id 2, version 17, address 0xfec01000, GSI 16-31
ACPI: IOAPIC (id[0x03] address[0xfec02000] gsi_base[32])
IOAPIC[2]: apic_id 3, version 17, address 0xfec02000, GSI 32-47
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 3 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 20000000 (gap: 17fff000:e6c01000)
Built 1 zonelists
Kernel command line: root=/dev/hda2 vga=792
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
mapped IOAPIC to ffffb000 (fec01000)
mapped IOAPIC to ffffa000 (fec02000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 1700.020 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 386440k/393152k available (1673k kernel code, 6164k reserved, 635k data, 156k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3403.22 BogoMIPS (lpj=6806447)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 3febfbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 3febfbff 00000000 00000000 00000000 00000000 0 0000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
CPU: After all inits, caps: 3febfbff 00000000 00000000 00000080 00000000 0000000 0 00000000
CPU: Intel(R) Pentium(R) 4 CPU 1.70GHz stepping 02
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 0k freed
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfc6ce, last bus=0
Setting up standard PCI resources
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:08.0
PCI: Ignoring BAR0-3 of IDE controller 0000:00:0f.1
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs *3 4 5 6 7 9 10 12)
ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK3] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK6] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK7] (IRQs 3 4 *5 6 7 9 10 12)
ACPI: PCI Interrupt Link [LNK8] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK9] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN10] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN11] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN12] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN13] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN14] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN15] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN16] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN17] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN18] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN19] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN1A] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN1B] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN1C] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN1D] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN1E] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LN1F] (IRQs 3 4 5 6 7 9 10 12) *0, disabled.
ACPI: PCI Interrupt Link [LUSB] (IRQs 3 4 5 6 7 *10 12)
ACPI: PCI Interrupt Link [LTID] (IRQs *11)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
pnp: 00:09: ioport range 0x814-0x85b could not be reserved
pnp: 00:09: ioport range 0x820-0x83f has been reserved
pnp: 00:09: ioport range 0x580-0x593 has been reserved
pnp: 00:09: ioport range 0xc00-0xcd7 has been reserved
pnp: 00:09: ioport range 0xf50-0xf58 has been reserved
pnp: 00:09: ioport range 0x800-0x819 could not be reserved
pnp: 00:09: ioport range 0x880-0x89f has been reserved
pnp: 00:09: ioport range 0x8c0-0x8c3 has been reserved
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
IA-32 Microcode Update Driver: v1.14 <tigran@veritas.com>
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered (default)
PCI: MSI quirk detected. pci_msi_quirk set.
PCI: MSI quirk detected. pci_msi_quirk set.
vesafb: framebuffer at 0xfd000000, mapped to 0xd8880000, using 4608k, total 8128 k
vesafb: mode is 1024x768x24, linelength=3072, pages=2
vesafb: protected mode interface info at c000:4a84
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:8:8:8, shift=0:16:8:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Real Time Clock Driver v1.12ac
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SvrWks CSB6: IDE controller at PCI slot 0000:00:0e.0
ACPI: PCI Interrupt Link [LTID] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:0e.0[A] -> Link [LTID] -> GSI 11 (level, low) -> IRQ 11
SvrWks CSB6: chipset revision 160
SvrWks CSB6: 100% native mode on irq 11
ide2: BM-DMA at 0x0900-0x0907, BIOS settings: hde:DMA, hdf:pio
Probing IDE interface ide2...
hde: GCR-8481B, ATAPI CD/DVD-ROM drive
ide2 at 0x1e8-0x1ef,0x3ee on irq 11
SvrWks CSB6: IDE controller at PCI slot 0000:00:0f.1
SvrWks CSB6: chipset revision 160
SvrWks CSB6: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x08b0-0x08b7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x08b8-0x08bf, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: Maxtor 6Y160P0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: WDC WD1800JB-00DUA0, ATA DISK drive
hdd: Maxtor 6Y120L0, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 512KiB
hda: 320173056 sectors (163928 MB) w/7936KiB Cache, CHS=19929/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
hdc: max request size: 512KiB
hdc: 351651888 sectors (180045 MB) w/8192KiB Cache, CHS=21889/255/63, UDMA(100)
hdc: cache flushes supported
hdc: hdc1
hdd: max request size: 128KiB
hdd: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hdd: cache flushes supported
hdd: hdd1
usbmon: debugfs is not available
PNP: PS/2 Controller [PNP0303:KBD] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
input: PC Speaker as /class/input/input0
input: AT Translated Set 2 keyboard as /class/input/input1
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Using IPI Shortcut mode
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 156k freed
Adding 498004k swap on /dev/hda3. Priority:-1 extents:1 across:498004k
EXT3 FS on hda2, internal journal
acenic.c: v0.92 08/05/2002 Jes Sorensen, linux-acenic@SunSITE.dk
http://home.cern.ch/~jes/gige/acenic.html
ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 23 (level, low) -> IRQ 16
0000:00:05.0: NetGear GA620 Gigabit Ethernet at 0xfe120000, irq 16
Tigon II (Rev. 6), Firmware: 12.4.11, MAC: 00:a0:cc:73:3c:9d
PCI cache line size set incorrectly (64 bytes) by BIOS/FW, correcting to 128
PCI bus width: 64 bits, speed: 33MHz, latency: 64 clks
Disabling PCI memory write and invalidate
0000:00:05.0: Firmware up and running
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LUSB] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:0f.2[A] -> Link [LUSB] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:0f.2: OHCI Host Controller
ohci_hcd 0000:00:0f.2: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:0f.2: irq 10, io mem 0xfe124000
eth0: Optical link UP (Full Duplex, Flow Control: TX RX)
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hdc1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hdd1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Linux agpgart interface v0.101 (c) Dave Jones
Intel(R) PRO/1000 Network Driver - version 7.0.33-k2-NAPI
Copyright (c) 1999-2005 Intel Corporation.
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 17 (level, low) -> IRQ 17
e1000: 0000:00:02.0: e1000_probe: (PCI:33MHz:32-bit) 00:c0:9f:1e:a4:e8
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 1 [PCSPP,TRISTATE,COMPAT,ECP,DMA ]
process `named' is using obsolete setsockopt SO_BSDCOMPAT
device eth0 entered promiscuous mode
Back to top
View user's profile Send private message
imageek
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 77
Location: Richardson, TX

PostPosted: Mon Nov 06, 2006 8:13 pm    Post subject: Reply with quote

did you find a fix for this? I am building a server that has an ide/raid card in it and when booting to the livecd it works fine, but after installing and booting into the kernel it can never find the root filesystem. Also i am having to use a 2005.1 livecd to install from because the 2006.1 we have here cannot find the hard drives either.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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