Breezy Kernel 2.6.12 boot failure on JetWay A210GDMS-Pro

Bug #23374 reported by Dave Ahlswede
6
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Fix Released
Medium
Ben Collins

Bug Description

The Jetway A210GDMS-Pro is a Socket 939 Athlon 64 motherboard with the Radeon
XPress 200 chipset. Under hoary, this board ran reasonably well, but when I
tried to upgrade to Breezy (to fix a few unrelated issues), I was unable to get
it to boot. Behavior is exactly the same whether it's a generic or k8-smp kernel.

With no special parameters, the 2.6.12 kernel is unable to make it past the PS/2
Keyboard initialization. With 'noapic nolapic' appended to the kernel command
line, it makes it a little further, past the disk initialization, and hangs up
on loading my USB mouse unless pci=routeirq is passed. However, this is as far
as I am able to get it to proceed. (So, it seems to go IDE disks, SATA disks,
USB device, hangup).

It's still in the initramfs as this is happening, so I'm not sure what the best
way of getting any sort of debugging output would be. The 2.6.10 kernel left
over from Hoary still boots fine, without any extra boot parameters.

If it's of any interest, this is a fairly minimal system, with these parts:
A210GDMS-Pro motherboard
Athlon 64 X2 3800
2GB Ram
1 standard IDE DVD-RW drive
1 Serial-ATA hard disk
PS/2 Keyboard
USB mouse

Revision history for this message
Dave Ahlswede (mightyquinn) wrote :

After a little googling and discovering the inner workings of initramfs, I
believe I've isolated the cause of my troubles. Apparently, it's the sata_uli
driver causing the hang-- when modprobed, after discovering the attached hard
drive, it just sits there forever.

Revision history for this message
Dave Ahlswede (mightyquinn) wrote :

(apologies for the spam)
If it's any help, here's what lspci -vv has to say about my SATA controller, at
least under 2.6.10:

0000:00:1f.1 RAID bus controller: ALi Corporation: Unknown device 5287 (rev 02)
        Subsystem: ALi Corporation: Unknown device 5287
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128, Cache Line Size: 0x80 (512 bytes)
        Interrupt: pin A routed to IRQ 19
        Region 0: I/O ports at fd00 [size=16]
        Region 1: I/O ports at fc00 [size=8]
        Region 2: I/O ports at fb00 [size=16]
        Region 3: I/O ports at fa00 [size=8]
        Region 4: I/O ports at f900 [size=32]
        Region 5: Memory at dfffa000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME+

Revision history for this message
Matt Zimmerman (mdz) wrote :

Please get a trace from the hang, see https://wiki.ubuntu.com/DebuggingSystemCrash

Revision history for this message
Dave Ahlswede (mightyquinn) wrote :

Unfortunately, it seems that Magic SysRq is disabled in all the AMD64 kernels,
both Hoary's and Breezy's. I'll need to compile a modified kernel.

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #4)
> Unfortunately, it seems that Magic SysRq is disabled in all the AMD64 kernels,
> both Hoary's and Breezy's. I'll need to compile a modified kernel.

No, it isn't.

Revision history for this message
Dave Ahlswede (mightyquinn) wrote :

Hm, well, you're right (manually adding CONFIG_MAGIC_SYSRQ=y to the config file
and rebuilding didn't affect anything, but there's no mention of it in the
/boot/config-* file, which confused me), but unfortunately, I'm not able to get
the Magic SysRq key to work. Alt-sysrq-1 and altl-sysrq-t unfortunately behave
just like alt-1 and alt-t. (I've also tried the other permutations of ctrl and
alt, with no success)

For what it's worth, I also tried the magic sysrq key in a working kernel, and
with a different keyboard, to no effect.

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #6)
> Hm, well, you're right (manually adding CONFIG_MAGIC_SYSRQ=y to the config file
> and rebuilding didn't affect anything, but there's no mention of it in the
> /boot/config-* file, which confused me), but unfortunately, I'm not able to get
> the Magic SysRq key to work. Alt-sysrq-1 and altl-sysrq-t unfortunately behave
> just like alt-1 and alt-t. (I've also tried the other permutations of ctrl and
> alt, with no success)
>
> For what it's worth, I also tried the magic sysrq key in a working kernel, and
> with a different keyboard, to no effect.

Perhaps you aren't using an Ubuntu kernel.

mizar:[~] grep SYSRQ /boot/config*
/boot/config-2.6.12-3-k7:CONFIG_MAGIC_SYSRQ=y
/boot/config-2.6.12-7-k7:CONFIG_MAGIC_SYSRQ=y
/boot/config-2.6.12-8-k7:CONFIG_MAGIC_SYSRQ=y
/boot/config-2.6.12-9-k7:CONFIG_MAGIC_SYSRQ=y

Revision history for this message
Dave Ahlswede (mightyquinn) wrote :

I'm quite certain I'm using an Ubuntu kernel-- it's a fresh install from
official CD, with subsequent upgrade to breezy by apt.

I was notably using a 64bit kernel, however. (-k8-smp, not -k7). Out of
curiosity, I tried downloading the 32bit i386 liveCD, though and I noticed that
it didn't seem to have this trouble. It also had working Magic SysRq. :)

Revision history for this message
Ben Collins (ben-collins) wrote :

If possible, please upgrade to Dapper's 2.6.15-7 kernel. If you do not want to
upgrade to Dapper, then you can also wait for the Dapper Flight 2 CD's, which
are due out within the next few days.

Let me know if this bug still exists with this kernel.

Revision history for this message
Dave Ahlswede (mightyquinn) wrote :

Please forgive the delay in response; The Dapper Flight 2 AMD64 LiveCD does
boot, but it needs some combination of nolapic noapic noacpi pci=routeirq,noacpi
and acpi=off on the kernel command line. (I was shotgun troubleshooting; It'll
take me a while to figure out exactly which of these is required and which isn't)

It does take 5-10sec to scan for drives; I don't know if that's normal or a
necessary evil.

The LiveCD is rebooting after it tries to start X at the moment, so I'm going to
try an installation to see if I can get that working; that's a different bug,
though.

Revision history for this message
Dave Ahlswede (mightyquinn) wrote :

Okay, upon further research, the parameters required to boot are 'nolapic
pci=noacpi'.

Unfortunately, the delay I mentioned earlier was actually the sata_uli driver
timing out while trying to talk to the hard drive.. I was able to glean this
info from dmesg, when the driver was modprobed:

PCI: enabling device 0000:00:1f.1
sata_uli: 0000:00:1f.1: version 0.5
ata1: SATA Max UDMA/133 cmd 0xfd00 ctl FC02 bmdma 0xf900 irq 11
ata1: SATA link up 1.5Gbps (SStatus 113)
ata1: slow completion (cmd ec)
ata1: dev 0 cfg 49:0000 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:0000
ata1: no dma
ata1: dev 0 not supported, ignoring

subsequent attempts to modprobe -r sata_uli and modprobe sata_uli provide a
similar message, except with these two lines:

ata1: SATA linkup 1.5 Gbps (SStatus 113)
ata1 is slow to respond, please be patient.
ata1 failed to respond (30 secs)

Revision history for this message
Ben Collins (ben-collins) wrote :

(In reply to comment #11)
> Okay, upon further research, the parameters required to boot are 'nolapic
> pci=noacpi'.

Alright, there have been quite a few updates since flight2, especially for
amd64. If possible, could you try one of the latest daily ISO's? If you have an
install of some kind, then just doing a dist-upgrade to latest dapper would also
work.

Thanks

Revision history for this message
Dave Ahlswede (mightyquinn) wrote :

Well, it seems to be getting closer.. now it finds the hard drive (though it
still takes quite a while), unfortunately, it doesn't seem to make it through
the disk partitioner initialization. Dmesg output is full of this line,
repeating over and over:

ata1: command 0x25 timeout stat 0x50 host_stat 0x4

Revision history for this message
Dave Ahlswede (mightyquinn) wrote :

Sorry for the long delay again. The problem seems to have been resolved as of Dapper Final.

Changed in linux-source-2.6.15:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.