2.6.19-rc5: Geode GX IDE and compact flash issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have an AMD Geode GX w/ the CS5535 chip and a compact flash adapter
on IDE0/hda.
There is nothing attached to IDE1.

Not sure if it is relevant, but I'm using a 128 MB SanDisk. A 512 MB
SanDisk and a 128 MB SImpleTech CF behave the same.

I am using an unmodified linux 2.6.19-rc5.

There are two seperate issues here.

1.
If I enable the cs5535-specifc IDE driver, Linux can't find the root
file system.  I haven't been able to get dmesg output for this
problem, as the kernel panics.
This isn't a new issue, but I've never bothered to report it because
IDE works without this driver.  (The attached files do not relate in
any way to this issue.)

2.
Without the cs5535-specific IDE driver, I'm getting some weird
timeouts at boot time.  All told, it takes ~40 seconds to init the IDE
stuff.

Attached is my config and the complete dmesg output.

Here's a section of the attached log related to the IDE/ATA stuff:

[   18.131962] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[   18.132057] ide: Assuming 33MHz system bus speed for PIO modes;
override with idebus=xx
[   18.132612] Probing IDE interface ide0...
[   18.518435] hda: SanDisk SDCFBI-128, CFA DISK drive
[   19.129769] Probing IDE interface ide1...
[   19.642558] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[   19.643392] hda: max request size: 128KiB
[   19.643515] hda: 250880 sectors (128 MB) w/1KiB Cache, CHS=980/8/32
[   19.643895]  hda: hda1
[   19.649610] libata version 2.00 loaded.
[   19.650013] ata: 0x1F0 IDE port busy
[   19.650027] ata: conflict with ide0
[   19.650227] PCI: Setting latency timer of device 0000:00:0f.2 to 64
[   19.650563] ata1: DUMMY
[   19.650791] ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0xEFF8 irq 15
[   19.650907] scsi0 : cs5535
[   19.651421] scsi1 : cs5535
[   26.689644] ata2: port is slow to respond, please be patient (Status 0xff)
[   49.677975] ata2: port failed to respond (30 secs, Status 0xff)
[   49.828888] ata2: SRST failed (status 0xFF)
[   49.828966] ata2: SRST failed (err_mask=0x100)
[   49.829041] ata2: softreset failed, retrying in 5 secs
[   54.978059] ata2: SRST failed (status 0xFF)
[   54.978141] ata2: SRST failed (err_mask=0x100)
[   54.978213] ata2: softreset failed, retrying in 5 secs
[   60.127234] ata2: SRST failed (status 0xFF)
[   60.127320] ata2: SRST failed (err_mask=0x100)
[   60.127395] ata2: reset failed, giving up

The log "ata: conflict with ide0" may be important.

If ata2 maps to IDE1, then there is not an IDE device connected to ata2.

I have in the past altered the IDE code to skip the timeout/retry
code, but I was hoping for a solution that didn't require me to alter
the kernel code.

Any suggestions?

Thanks,
Ben
[    0.000000] Linux version 2.6.19-rc5geode (bgardner@bgardner-desktop) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #5 PREEMPT Wed Nov 15 15:50:15 CST 2006
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 0000000007bc0000 (usable)
[    0.000000]  BIOS-e820: 0000000040400000 - 0000000040440000 (reserved)
[    0.000000]  BIOS-e820: 00000000f0000000 - 0000000100000000 (reserved)
[    0.000000] 123MB LOWMEM available.
[    0.000000] Entering add_active_range(0, 0, 31680) 0 entries of 256 used
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->    31680
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->    31680
[    0.000000] On node 0 totalpages: 31680
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4064 pages, LIFO batch:0
[    0.000000]   Normal zone: 215 pages used for memmap
[    0.000000]   Normal zone: 27369 pages, LIFO batch:7
[    0.000000] DMI not present or invalid.
[    0.000000] Allocating PCI resources starting at 50000000 (gap: 40440000:afbc0000)
[    0.000000] Detected 398.469 MHz processor.
[   17.918694] Built 1 zonelists.  Total pages: 31433
[   17.918719] Kernel command line: root=/dev/hda1 ro,noatime vga=1 video=gxfb:mode=640x480-32@60
[   17.920297] Initializing CPU#0
[   17.920403] PID hash table entries: 512 (order: 9, 2048 bytes)
[   17.921675] Console: colour VGA+ 80x25
[   17.922911] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[   17.923476] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[   17.947373] Memory: 122084k/126720k available (1877k kernel code, 4140k reserved, 548k data, 156k init, 0k highmem)
[   17.947548] virtual kernel memory layout:
[   17.947560]     fixmap  : 0xffffd000 - 0xfffff000   (   8 kB)
[   17.947575]     vmalloc : 0xc8800000 - 0xffffb000   ( 887 MB)
[   17.947591]     lowmem  : 0xc0000000 - 0xc7bc0000   ( 123 MB)
[   17.947606]       .init : 0xc03a2000 - 0xc03c9000   ( 156 kB)
[   17.947621]       .data : 0xc02d57fc - 0xc035e9f0   ( 548 kB)
[   17.947636]       .text : 0xc0100000 - 0xc02d57fc   (1877 kB)
[   17.948034] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[   18.008365] Calibrating delay using timer specific routine.. 797.85 BogoMIPS (lpj=398928)
[   18.008744] Mount-cache hash table entries: 512
[   18.009303] CPU: After generic identify, caps: 0080a13d c0c0a13d 00000000 00000000 00000000 00000000 00000000
[   18.009401] CPU: L1 I Cache: 16K (32 bytes/line), D cache 16K (32 bytes/line)
[   18.009487] CPU: After all inits, caps: 0080a13d c0c0a13d 00000000 00000000 00000000 00000000 00000000
[   18.009557] CPU: NSC Geode(TM) Integrated Processor by National Semi stepping 02
[   18.009770] Checking 'hlt' instruction... OK.
[   18.015907] NET: Registered protocol family 16
[   18.017328] PCI: PCI BIOS revision 2.10 entry at 0xff8b7, last bus=0
[   18.017451] PCI: Using configuration type 1
[   18.017522] Setting up standard PCI resources
[   18.028109] Linux Plug and Play Support v0.97 (c) Adam Belay
[   18.029061] SCSI subsystem initialized
[   18.029635] usbcore: registered new interface driver usbfs
[   18.030013] usbcore: registered new interface driver hub
[   18.030503] usbcore: registered new device driver usb
[   18.031122] PCI: Probing PCI hardware
[   18.031207] PCI: Probing PCI hardware (bus 00)
[   18.034024] Boot video device is 0000:00:01.1
[   18.044134] PCI: Using IRQ router default [100b/002b] at 0000:00:0f.0
[   18.057432] PCI: Ignore bogus resource 6 [0:0] of 0000:00:01.1
[   18.057734] NET: Registered protocol family 2
[   18.067571] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[   18.068094] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[   18.068316] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[   18.068482] TCP: Hash tables configured (established 4096 bind 2048)
[   18.068560] TCP reno registered
[   18.071764] io scheduler noop registered
[   18.071887] io scheduler deadline registered (default)
[   18.115910] Real Time Clock Driver v1.12ac
[   18.115997] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[   18.116532] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   18.117033] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
[   18.124484] RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
[   18.127365] loop: loaded (max 8 devices)
[   18.127701] natsemi dp8381x driver, version 2.1, Sept 11, 2006
[   18.127719]   originally by Donald Becker <becker@xxxxxxxxx>
[   18.127735]   http://www.scyld.com/network/natsemi.html
[   18.127749]   2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
[   18.128022] PCI: Guessed IRQ 10 for device 0000:00:0c.0
[   18.128395] PCI: Sharing IRQ 10 with 0000:00:0f.5
[   18.130794] natsemi eth0: NatSemi DP8381[56] at 0xefd00000 (0000:00:0c.0), 00:02:c0:00:04:59, IRQ 10, port TP.
[   18.131962] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[   18.132057] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[   18.132612] Probing IDE interface ide0...
[   18.518435] hda: SanDisk SDCFBI-128, CFA DISK drive
[   19.129769] Probing IDE interface ide1...
[   19.642558] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[   19.643392] hda: max request size: 128KiB
[   19.643515] hda: 250880 sectors (128 MB) w/1KiB Cache, CHS=980/8/32
[   19.643895]  hda: hda1
[   19.649610] libata version 2.00 loaded.
[   19.650013] ata: 0x1F0 IDE port busy
[   19.650027] ata: conflict with ide0
[   19.650227] PCI: Setting latency timer of device 0000:00:0f.2 to 64
[   19.650563] ata1: DUMMY
[   19.650791] ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0xEFF8 irq 15
[   19.650907] scsi0 : cs5535
[   19.651421] scsi1 : cs5535
[   26.689644] ata2: port is slow to respond, please be patient (Status 0xff)
[   49.677975] ata2: port failed to respond (30 secs, Status 0xff)
[   49.828888] ata2: SRST failed (status 0xFF)
[   49.828966] ata2: SRST failed (err_mask=0x100)
[   49.829041] ata2: softreset failed, retrying in 5 secs
[   54.978059] ata2: SRST failed (status 0xFF)
[   54.978141] ata2: SRST failed (err_mask=0x100)
[   54.978213] ata2: softreset failed, retrying in 5 secs
[   60.127234] ata2: SRST failed (status 0xFF)
[   60.127320] ata2: SRST failed (err_mask=0x100)
[   60.127395] ata2: reset failed, giving up
[   60.127550] usbmon: debugfs is not available
[   60.127628] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
[   60.128163] PCI: Guessed IRQ 10 for device 0000:00:0f.4
[   60.128619] PCI: Setting latency timer of device 0000:00:0f.4 to 64
[   60.128677] ohci_hcd 0000:00:0f.4: OHCI Host Controller
[   60.129165] ohci_hcd 0000:00:0f.4: new USB bus registered, assigned bus number 1
[   60.129359] ohci_hcd 0000:00:0f.4: irq 10, io mem 0xeff00000
[   60.183147] usb usb1: configuration #1 chosen from 1 choice
[   60.183646] hub 1-0:1.0: USB hub found
[   60.183768] hub 1-0:1.0: 2 ports detected
[   60.285243] PCI: Guessed IRQ 10 for device 0000:00:0f.5
[   60.285417] PCI: Sharing IRQ 10 with 0000:00:0c.0
[   60.285773] PCI: Setting latency timer of device 0000:00:0f.5 to 64
[   60.285831] ohci_hcd 0000:00:0f.5: OHCI Host Controller
[   60.286261] ohci_hcd 0000:00:0f.5: new USB bus registered, assigned bus number 2
[   60.286410] ohci_hcd 0000:00:0f.5: irq 10, io mem 0xefe00000
[   60.339989] usb usb2: configuration #1 chosen from 1 choice
[   60.340519] hub 2-0:1.0: USB hub found
[   60.340641] hub 2-0:1.0: 2 ports detected
[   60.441975] Initializing USB Mass Storage driver...
[   60.657952] usb 2-1: new low speed USB device using ohci_hcd and address 2
[   60.814695] usb 2-1: configuration #1 chosen from 1 choice
[   61.035746] usb 2-2: new full speed USB device using ohci_hcd and address 3
[   61.186488] usb 2-2: configuration #1 chosen from 1 choice
[   61.193007] usbcore: registered new interface driver usb-storage
[   61.193100] USB Mass Storage support registered.
[   61.193438] usbcore: registered new interface driver hiddev
[   61.203699] input: Chicony USB Wireless HID Receiver as /class/input/input0
[   61.203860] input: USB HID v1.10 Keyboard [Chicony USB Wireless HID Receiver] on usb-0000:00:0f.5-1
[   61.230307] input: Chicony USB Wireless HID Receiver as /class/input/input1
[   61.230847] input,hiddev96: USB HID v1.10 Device [Chicony USB Wireless HID Receiver] on usb-0000:00:0f.5-1
[   61.239315] input: Chicony USB Wireless HID Receiver as /class/input/input2
[   61.239421] input: USB HID v1.10 Mouse [Chicony USB Wireless HID Receiver] on usb-0000:00:0f.5-1
[   61.239705] usbcore: registered new interface driver usbhid
[   61.239793] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[   61.240877] PNP: No PS/2 controller found. Probing ports directly.
[   62.032204] i8042.c: Can't read CTR while initializing i8042.
[   62.032296] i8042: probe of i8042 failed with error -5
[   62.033502] mice: PS/2 mouse device common for all mice
[   62.034870] EDAC MC: Ver: 2.0.1 Nov 15 2006
[   62.036607] TCP cubic registered
[   62.036717] NET: Registered protocol family 1
[   62.036829] NET: Registered protocol family 17
[   62.036912] NET: Registered protocol family 15
[   62.036999] Using IPI Shortcut mode
[   62.037169] Time: tsc clocksource has been installed.
[   62.048256] VFS: Mounted root (ext2 filesystem) readonly.
[   62.048796] Freeing unused kernel memory: 156k freed
[   90.382893] pcnet32.c:v1.33 27.Jun.2006 tsbogend@xxxxxxxxxxxxxxxx
[   90.516572] eth0: DSPCFG accepted after 0 usec.
[   90.516660] eth0: link up.
[   90.516738] eth0: Setting full-duplex based on negotiated link capability.

Attachment: linux-2.6.19-rc5.config
Description: Binary data


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux