You are not logged in.

#1 2006-12-12 00:00:38

sabooky
Member
Registered: 2006-11-02
Posts: 89

pata_amd takes forever to load hanging at "[solved]

kernel26beyond 2.6.19.beyond1-1

Basically its a kernel 2.6.19 problem for me, where udev takes forever to load. I've narrowed it down to the problem module and its pata_amd. loading it with modprobe -v showed no errors, just takes 2 min or so to load. I've tried to blacklist the module, and oddly enough my hd works fine but my network doesn't work anymore "no route to host".

Using DFI nforce 4 (so no intel controller). sata II HD. turned off my cdrom in the bios (ide) just to be safe.

Here's some errors I noticed in logs

dmesg:

ata5.00: ATAPI, max UDMA/33
ata5.01: qc timeout (cmd 0xa1)
ata5.01: failed to IDENTIFY (I/O error, err_mask=0x4)
ata5: failed to recover some devices, retrying in 5 secs
ata5.01: qc timeout (cmd 0xa1)
ata5.01: failed to IDENTIFY (I/O error, err_mask=0x4)
ata5: failed to recover some devices, retrying in 5 secs
ata5.01: qc timeout (cmd 0xa1)
ata5.01: failed to IDENTIFY (I/O error, err_mask=0x4)
ata5: failed to recover some devices, retrying in 5 secs
ata5.00: configured for UDMA/33
scsi5 : pata_amd
ata6: port disabled. ignoring.
ata6: reset failed, giving up
scsi 4:0:0:0: CD-ROM            BENQ     DVD DD DW1640    BSMB PQ: 0 ANSI: 5
ACPI: PCI Interrupt 0000:05:00.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ
 20

hwdetect --show-modules:

AGP    : agpgart 
IDE    : ide-core amd74xx generic 
SCSI   : sd_mod sg sr_mod 
SATA   : ata_generic pata_amd sata_nv 
USB    : usb-storage usblp usbhid usbcore ohci-hcd 
NET    : forcedeth sk98lin skge 
SOUND  : snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-bus snd-ac97-codec snd-intel8x0 soundcore 
VIDEO  : nvidia 
OTHER  : cdrom rtc k8temp i2c-nforce2 i2c-core evdev ff-memless pcspkr pci_hotplug shpchp ata_generic pata_amd 

Solved: FINALLY!
http://bbs.archlinux.org/viewtopic.php?t=28109
basically just gotta blacklist pata_amd and ata_generic. for some reason only blacklisting pata_amd would break my internet. *shrug*

Offline

#2 2006-12-13 17:26:06

wiremore
Member
Registered: 2005-08-23
Posts: 43

Re: pata_amd takes forever to load hanging at "[solved]

I have the exact same problem. It seems to be a bug in the pata subsystem in the kernel. I posted a bug report.

http://bugs.archlinux.org/task/6002

Offline

#3 2006-12-13 17:43:54

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: pata_amd takes forever to load hanging at "[solved]

Same here; you should use the old amd74xx-module till this problem is fixed.

Offline

#4 2006-12-14 14:23:13

sabooky
Member
Registered: 2006-11-02
Posts: 89

Re: pata_amd takes forever to load hanging at "[solved]

Pierre wrote:

Same here; you should use the old amd74xx-module till this problem is fixed.

What'd be the best way of doing that? just adding it to the modules in mkinitcpio.conf or rc.conf? or do i just drop down to the 2.6.28 kernel?

Offline

#5 2006-12-14 14:28:38

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: pata_amd takes forever to load hanging at "[solved]

Not using the pata-hook should help. Udev doesn`t load the pata-modules automatically.

Offline

#6 2006-12-14 14:38:34

sabooky
Member
Registered: 2006-11-02
Posts: 89

Re: pata_amd takes forever to load hanging at "[solved]

Pierre wrote:

Not using the pata-hook should help. Udev doesn`t load the pata-modules automatically.

I don't use the pata hook, its actually being loaded under sata. I've  disabled my ide cdrom drive from the bios. All I have are 2 sata hd's connected to the mb, and a floppy.

Guess i'll have to blacklist it and just add.
lib/modules/2.6.19-beyond/kernel/drivers/ide/pci/amd74xx.ko
to the modules? (is that the correct module btw)

Offline

#7 2006-12-14 14:58:55

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: pata_amd takes forever to load hanging at "[solved]

Strange, I have a similar setup and pata is not loaded when using the following hooks:

HOOKS="base udev autodetect sata filesystems"

But if this still does not work, blacklist pata_amd and load amd74xx via rc.conf.

Offline

#8 2006-12-14 15:08:57

sabooky
Member
Registered: 2006-11-02
Posts: 89

Re: pata_amd takes forever to load hanging at "[solved]

Pierre wrote:

Strange, I have a similar setup and pata is not loaded when using the following hooks:

HOOKS="base udev autodetect sata filesystems"

But if this still does not work, blacklist pata_amd and load amd74xx via rc.conf.

I'm speaking mainly from memory, I'll check it out when I get home from work. It aperantly failed booting up this morning, so I can't ssh in to try and fix it hmm

Thanks for the help so far btw, been going crazy about this problem.

EDIT: Update (figured I won't make a new post)

Ok basically I tested it out a bit with different results:
Kernel26: takes 2-3 min at udev then boots up and works fine.
kernel26beyond1: takes 2-3 min at udev then hangs at "mounting filesystem"
kernel26beyond2: takes 2-3 min at udev, then boots fine, but internet doesn't work.

Disabling pata_amd: breaks internet.

HOOKS="base udev autodetect sata scsi filesystems resume"

Offline

#9 2006-12-16 08:44:11

blance2599
Member
Registered: 2006-12-16
Posts: 5
Website

Re: pata_amd takes forever to load hanging at "[solved]

me too~
but i saw someone used sata hard disk only have no problem.
he also said his cdrom changed sc0,so i have no idea the problem is in fstab or not


AMD Opteron 146 2.75G (275x10)
DFI LP UT NF4-D (SLI)
Dataland X800XL 256MB DDR3
Seagate 160G eSATA 8MB x 2
Maxtor 160G PATA 8M
ASUS DRW-1608P3S
CoolerMaster 534 Enturion (MODed)
OS:ArchLinux + WinXP + Win2k3

Offline

Board footer

Powered by FluxBB