Gentoo Archives: gentoo-kernel

From: puNk!d <punkid.online@×××××.com>
To: gentoo-kernel@l.g.o
Subject: [gentoo-kernel] Kernels (>2.6.13) dont recognize my sata disk on K8N4-E
Date: Thu, 20 Sep 2007 09:38:21
Message-Id: 1b2f97350709200131w1763a592k11a993432882aadb@mail.gmail.com
1 I posted this on forums, but no one give me a clue, so i ask for here,
2 hoping someone can help me out.
3
4 For saving your time, let me first illustrate my prob briefly. I have an
5 ASUS K8N4-4 nForce4 mainboard, and a 160G Maxtor SATA harddisk (6V160E0).
6 But all of the kernels (>2.6.13) couldnt recognize my harddisk, it showed
7 the VFS: Cannot open root device "sda9" or unknown-block(0,0) error when
8 booting. I tried gentoo-sources, genkernel, vanilla-kernel,mm-sources and
9 even sabayon-sources, they all failed. However, the kernels <=2.6.13 work
10 well. I know you might tell me to have a look at my kernel config, check
11 twice that had i enabled the SATA device support, I really did it, you can
12 take a look at my kernel config in this thread.
13
14 I tried the K8N4-E keywords in this forums, i found there were many guys who
15 use that mainboard suffering the same prob. Such as:
16
17
18 1. SATA drives not recognized on kernel >
19 2.6.11<http://forums.gentoo.org/viewtopic-t-522268-highlight-k8n4e.html>
20 2. Problem finding my
21 SATA-drives<http://forums.gentoo.org/viewtopic-t-525163-highlight-k8n4e.html>
22 3. What does "VFS: Cannot open root device..." mean,
23 exactly?<http://forums.gentoo.org/viewtopic-t-510265-highlight-kernel+panic.html>
24 (my
25 former reply following a Tips & Tricks thread)
26
27 in the 2nd one, someone named addeman also confirmed this weird prob, and no
28 one really gave a solution.
29
30 Recently I had a chance to try Kubuntu 7.04 feisty LiveCD, i found it could
31 recognize my SATA harddisk with kernel-2.6.20, it makes me wondering is it a
32 prob of the kernel itself or the gentoo system. So i downloaded Fedora 7
33 LiveCD (kernel-2.6.21), it can also recognize my sata device! Then i decided
34 to have a test on Fedora 7 LiveCD's kernel by a dirty way, i copyed the
35 vmlinuz image,the modules and the modprobe.conf setting into my gentoo
36 system, try to boot from Fedora's kernel, it failed with the same VFS:
37 Cannot open root device "sda9" or unknown-block(0,0) error.
38
39 Okay, now let me tell you my gentoo setting. Here's my partition list.
40
41 Filesystem Type Size Used Avail Use% Mounted on
42 /dev/sda8 ext2 38M 8.4M 28M 24% /boot
43 /dev/sda9 reiserfs 18G 5.3G 13G 30% /
44 /dev/sda10 reiserfs 8.1G 4.9G 3.2G 61% /home
45
46 my grub.conf
47
48 title=Gentoo Linux 2.6.13
49 root (hd0,7)
50 kernel /boot/vmlinuz-2.6.13-gentoo-r5 root=/dev/sda9
51 video=vesafb:mtrr,ywrap,1440x900-32
52
53 title=Gentoo Linux 2.6.22
54 root (hd0,7)
55 kernel /boot/vmlinuz-2.6.22-gentoo-r6 root=/dev/sda9
56 video=vesafb:mtrr,ywrap,1440x900-32
57
58 the dmesg output (running on my gentoo system with kernel 2.6.13)
59
60 Console: colour VGA+ 80x25
61 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
62 Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
63 Memory: 514308k/524224k available (2893k kernel code, 9364k reserved, 1174k
64 data, 180k init, 0k highmem)
65 Checking if this processor honours the WP bit even in supervisor mode... Ok.
66
67 Calibrating delay using timer specific routine.. 3620.94 BogoMIPS
68 (lpj=1810472)
69 Mount-cache hash table entries: 512
70 CPU: After generic identify, caps: 078bfbff e3d3fbff 00000000 00000000
71 00000001 00000000 00000001
72 CPU: After vendor identify, caps: 078bfbff e3d3fbff 00000000 00000000
73 00000001 00000000 00000001
74 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
75 CPU: L2 Cache: 128K (64 bytes/line)
76 CPU: After all inits, caps: 078bfbff e3d3fbff 00000000 00000010 00000001
77 00000000 00000001
78 Intel machine check architecture supported.
79 Intel machine check reporting enabled on CPU#0.
80 mtrr: v2.0 (20020519)
81 CPU: AMD Sempron(tm) Processor 3000+ stepping 02
82 Enabling fast FPU save and restore... done.
83 Enabling unmasked SIMD FPU exception support... done.
84 Checking 'hlt' instruction... OK.
85 ACPI: setting ELCR to 0200 (from 0828)
86 NET: Registered protocol family 16
87 ACPI: bus type pci registered
88 PCI: PCI BIOS revision 3.00 entry at 0xf1f20, last bus=5
89 PCI: Using configuration type 1
90 ACPI: Subsystem revision 20050408
91 ACPI: Interpreter enabled
92 ACPI: Using PIC for interrupt routing
93 ACPI: PCI Root Bridge [PCI0] (0000:00)
94 PCI: Probing PCI hardware (bus 00)
95 ACPI: Assume root bridge [\_SB_.PCI0] segment is 0
96 PCI: Transparent bridge - 0000:00:09.0
97 Boot video device is 0000:01:00.0
98 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
99 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
100 ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 7 9 10 11 12 14 15) *0,
101 disabled.
102 ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 5 7 9 10 11 12 14 15) *0,
103 disabled.
104 ACPI: PCI Interrupt Link [LNK3] (IRQs *3 4 5 7 9 10 11 12 14 15)
105 ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 5 7 9 10 11 12 14 15) *0,
106 disabled.
107 ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 7 9 10 11 12 14 15) *0,
108 disabled.
109 ACPI: PCI Interrupt Link [LUBA] (IRQs 3 4 *5 7 9 10 11 12 14 15)
110 ACPI: PCI Interrupt Link [LUBB] (IRQs 3 4 5 7 9 10 11 12 14 15) *0,
111 disabled.
112 ACPI: PCI Interrupt Link [LMAC] (IRQs 3 4 5 7 9 10 11 12 14 15) *0,
113 disabled.
114 ACPI: PCI Interrupt Link [LACI] (IRQs 3 4 5 7 9 10 *11 12 14 15)
115 ACPI: PCI Interrupt Link [LMCI] (IRQs 3 4 5 7 9 10 11 12 14 15) *0,
116 disabled.
117 ACPI: PCI Interrupt Link [LSMB] (IRQs 3 4 5 7 9 10 *11 12 14 15)
118 ACPI: PCI Interrupt Link [LUB2] (IRQs *3 4 5 7 9 10 11 12 14 15)
119 ACPI: PCI Interrupt Link [LIDE] (IRQs 3 4 5 7 9 10 11 12 14 15) *0,
120 disabled.
121 ACPI: PCI Interrupt Link [LSID] (IRQs 3 4 *5 7 9 10 11 12 14 15)
122 ACPI: PCI Interrupt Link [LFID] (IRQs 3 4 5 7 9 10 *11 12 14 15)
123 ACPI: PCI Interrupt Link [LPCA] (IRQs 3 4 5 7 9 10 11 12 14 15) *0,
124 disabled.
125 ACPI: PCI Interrupt Link [APC1] (IRQs 16) *0, disabled.
126 ACPI: PCI Interrupt Link [APC2] (IRQs 17) *0, disabled.
127 ACPI: PCI Interrupt Link [APC3] (IRQs 18) *0, disabled.
128 ACPI: PCI Interrupt Link [APC4] (IRQs 19) *0, disabled.
129 ACPI: PCI Interrupt Link [APC5] (IRQs *16), disabled.
130 ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22 23) *0, disabled.
131 ACPI: PCI Interrupt Link [APCG] (IRQs 20 21 22 23) *0, disabled.
132 ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22 23) *0, disabled.
133 ACPI: PCI Interrupt Link [APCJ] (IRQs 20 21 22 23) *0, disabled.
134 ACPI: PCI Interrupt Link [APCK] (IRQs 20 21 22 23) *0, disabled.
135 ACPI: PCI Interrupt Link [APCS] (IRQs 20 21 22 23) *0, disabled.
136 ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22 23) *0, disabled.
137 ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22 23) *0, disabled.
138 ACPI: PCI Interrupt Link [APSI] (IRQs 20 21 22 23) *0, disabled.
139 ACPI: PCI Interrupt Link [APSJ] (IRQs 20 21 22 23) *0, disabled.
140 ACPI: PCI Interrupt Link [APCP] (IRQs 20 21 22 23) *0, disabled.
141 Linux Plug and Play Support v0.97 (c) Adam Belay
142 pnp: PnP ACPI init
143 pnp: PnP ACPI: found 14 devices
144 SCSI subsystem initialized
145 usbcore: registered new driver usbfs
146 usbcore: registered new driver hub
147 PCI: Using ACPI for IRQ routing
148 PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
149 report
150 pnp: 00:00: ioport range 0x4000-0x407f could not be reserved
151 pnp: 00:00: ioport range 0x4080-0x40ff has been reserved
152 pnp: 00:00: ioport range 0x4400-0x447f has been reserved
153 pnp: 00:00: ioport range 0x4480-0x44ff could not be reserved
154 pnp: 00:00: ioport range 0x4800-0x487f has been reserved
155 pnp: 00:00: ioport range 0x4880-0x48ff has been reserved
156 PCI: Bridge: 0000:00:09.0
157 IO window: a000-afff
158 MEM window: d0000000-d1ffffff
159 PREFETCH window: 20000000-200fffff
160 PCI: Bridge: 0000:00:0b.0
161 IO window: disabled.
162 MEM window: disabled.
163 PREFETCH window: disabled.
164 PCI: Bridge: 0000:00:0c.0
165 IO window: disabled.
166 MEM window: disabled.
167 PREFETCH window: disabled.
168 PCI: Bridge: 0000:00:0d.0
169 IO window: disabled.
170 MEM window: disabled.
171 PREFETCH window: disabled.
172 PCI: Bridge: 0000:00:0e.0
173 IO window: disabled.
174 MEM window: c8000000-cfffffff
175 PREFETCH window: c0000000-c7ffffff
176 PCI: Setting latency timer of device 0000:00:09.0 to 64
177 PCI: Setting latency timer of device 0000:00:0b.0 to 64
178 PCI: Setting latency timer of device 0000:00:0c.0 to 64
179 PCI: Setting latency timer of device 0000:00:0d.0 to 64
180 PCI: Setting latency timer of device 0000:00:0e.0 to 64
181 Machine check exception polling timer started.
182 audit: initializing netlink socket (disabled)
183 audit(1189637059.259:1): initialized
184 NTFS driver 2.1.23 [Flags: R/O].
185 Initializing Cryptographic API
186 PCI: Setting latency timer of device 0000:00:0b.0 to 64
187 pcie_portdrv_probe->Dev[005d:10de] has invalid IRQ. Check vendor BIOS
188 assign_interrupt_mode Found MSI capability
189 Allocate Port Service[pcie00]
190 PCI: Setting latency timer of device 0000:00:0c.0 to 64
191 pcie_portdrv_probe->Dev[005d:10de] has invalid IRQ. Check vendor BIOS
192 assign_interrupt_mode Found MSI capability
193 Allocate Port Service[pcie00]
194 PCI: Setting latency timer of device 0000:00:0d.0 to 64
195 pcie_portdrv_probe->Dev[005d:10de] has invalid IRQ. Check vendor BIOS
196 assign_interrupt_mode Found MSI capability
197 Allocate Port Service[pcie00]
198 PCI: Setting latency timer of device 0000:00:0e.0 to 64
199 pcie_portdrv_probe->Dev[005d:10de] has invalid IRQ. Check vendor BIOS
200 assign_interrupt_mode Found MSI capability
201 Allocate Port Service[pcie00]
202 lp: driver loaded but no devices found
203 [drm] Initialized drm 1.0.0 20040925
204 vesafb: NVIDIA Corporation, nv43 Board - p216h0 , Chip Rev (OEM: NVIDIA)
205
206 vesafb: VBE version: 3.0
207 vesafb: protected mode interface info at c000:d600
208 vesafb: pmi: set display start = c00cd636, set palette = c00cd6a0
209 vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf
210 3d0 3d1 3d2 3d3 3d4 3d5 3da
211 vesafb: hardware supports DDC2 transfers
212 vesafb: monitor limits: vf = 76 Hz, hf = 82 kHz, clk = 140 MHz
213 vesafb: scrolling: ywrap using protected mode interface, yres_virtual=8987
214 Console: switching to colour frame buffer device 175x65
215 vesafb: framebuffer at 0xc0000000, mapped to 0xe0880000, using 24576k, total
216 131072k
217 fb0: VESA VGA frame buffer device
218 ACPI: Power Button (FF) [PWRF]
219 ACPI: Power Button (CM) [PWRB]
220 ACPI: Fan [FAN] (on)
221 ACPI: CPU0 (power states: C1[C1])
222 ACPI: Processor [CPU0] (supports 8 throttling states)
223 ACPI: Thermal Zone [THRM] (40 C)
224 PNP: PS/2 controller doesn't have AUX irq; using default 0xc
225 PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 112
226 serio: i8042 AUX port at 0x60,0x64 irq 12
227 serio: i8042 KBD port at 0x60,0x64 irq 1
228 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
229 ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
230 ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
231 parport: PnPBIOS parport detected.
232 parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,...)]
233 lp0: using parport0 (interrupt-driven).
234 mice: PS/2 mouse device common for all mice
235 io scheduler noop registered
236 io scheduler anticipatory registered
237 io scheduler deadline registered
238 io scheduler cfq registered
239 input: AT Translated Set 2 keyboard on isa0060/serio0
240 input: PS/2 Generic Mouse on isa0060/serio1
241 floppy0: no floppy controllers found
242 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
243 loop: loaded (max 8 devices)
244 forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.35.
245 PPP generic driver version 2.4.2
246 PPP Deflate Compression module registered
247 PPP BSD Compression module registered
248 NET: Registered protocol family 24
249 8139too Fast Ethernet driver 0.9.27
250 ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 3
251 PCI: setting IRQ 3 as level-triggered
252 ACPI: PCI Interrupt 0000:05:08.0[A] -> Link [LNK3] -> GSI 3 (level, low) ->
253 IRQ 3
254 eth0: RealTek RTL8139 at 0xe0802000, 00:0a:eb:4b:36:48, IRQ 3
255 eth0: Identified 8139 chip type 'RTL-8100B/8139D'
256 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
257 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
258 NFORCE-CK804: IDE controller at PCI slot 0000:00:06.0
259 NFORCE-CK804: chipset revision 242
260 NFORCE-CK804: not 100% native mode: will probe irqs later
261 NFORCE-CK804: 0000:00:06.0 (rev f2) UDMA133 controller
262 ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
263 ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
264 Probing IDE interface ide0...
265 hda: PIONEER DVD-RW DVR-110, ATAPI CD/DVD-ROM drive
266 ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
267 Probing IDE interface ide1...
268 Probing IDE interface ide1...
269 hda: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2000kB Cache, UDMA(66)
270 Uniform CD-ROM driver Revision: 3.20
271 libata version 1.12 loaded.
272 sata_nv version 0.8
273 ACPI: PCI Interrupt Link [LSID] enabled at IRQ 5
274 PCI: setting IRQ 5 as level-triggered
275 ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [LSID] -> GSI 5 (level, low) ->
276 IRQ 5
277 PCI: Setting latency timer of device 0000:00:07.0 to 64
278 ata1: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xD400 irq 5
279 ata2: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xD408 irq 5
280 ata1: no device found (phy stat 00000000)
281 scsi0 : sata_nv
282 ata2: no device found (phy stat 00000000)
283 scsi1 : sata_nv
284 ACPI: PCI Interrupt Link [LFID] enabled at IRQ 11
285 PCI: setting IRQ 11 as level-triggered
286 ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LFID] -> GSI 11 (level, low) ->
287 IRQ 11
288 PCI: Setting latency timer of device 0000:00:08.0 to 64
289 ata3: SATA max UDMA/133 cmd 0x9E0 ctl 0xBE2 bmdma 0xC000 irq 11
290 ata4: SATA max UDMA/133 cmd 0x960 ctl 0xB62 bmdma 0xC008 irq 11
291 ata3: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4773 85:7c68 86:3e01 87:4763
292 88:407f
293 ata3: dev 0 ATA, max UDMA/133, 312581808 sectors: lba48
294 nv_sata: Primary device added
295 nv_sata: Primary device removed
296 nv_sata: Secondary device added
297 nv_sata: Secondary device removed
298 ata3: dev 0 configured for UDMA/133
299 scsi2 : sata_nv
300 ata4: no device found (phy stat 00000000)
301 scsi3 : sata_nv
302 Vendor: ATA Model: Maxtor 6V160E0 Rev: VA11
303 Type: Direct-Access ANSI SCSI revision: 05
304 SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
305 SCSI device sda: drive cache: write back
306 SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
307 SCSI device sda: drive cache: write back
308 sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 >
309 Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
310 Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0, type 0
311 ieee1394: raw1394: /dev/raw1394 device initialized
312 ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 3
313 ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUB2] -> GSI 3 (level, low) ->
314 IRQ 3
315 PCI: Setting latency timer of device 0000:00:02.1 to 64
316 ehci_hcd 0000:00:02.1: nVidia Corporation CK804 USB Controller
317 ehci_hcd 0000:00:02.1: debug port 1
318 ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
319 ehci_hcd 0000:00:02.1: irq 3, io mem 0xd2004000
320 PCI: cache line size of 64 is not supported by device 0000:00:02.1
321 ehci_hcd 0000:00:02.1: park 0
322 ehci_hcd 0000:00:02.1: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
323 hub 1-0:1.0: USB hub found
324 hub 1-0:1.0: 10 ports detected
325 ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
326 ACPI: PCI Interrupt Link [LUBA] enabled at IRQ 5
327 ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUBA] -> GSI 5 (level, low) ->
328 IRQ 5
329 PCI: Setting latency timer of device 0000:00:02.0 to 64
330 ohci_hcd 0000:00:02.0: nVidia Corporation CK804 USB Controller
331 ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
332 ohci_hcd 0000:00:02.0: irq 5, io mem 0xd2003000
333 hub 2-0:1.0: USB hub found
334 hub 2-0:1.0: 10 ports detected
335 Initializing USB Mass Storage driver...
336 usbcore: registered new driver usb-storage
337 USB Mass Storage support registered.
338 usb 2-1: new low speed USB device using ohci_hcd and address 2
339 usbcore: registered new driver hiddev
340 input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with
341 IntelliEye(TM)] on usb-0000:00:02.0-1
342 usbcore: registered new driver usbhid
343 drivers/usb/input/hid-core.c: v2.01:USB HID core driver
344 NET: Registered protocol family 2
345 IP route cache hash table entries: 8192 (order: 3, 32768 bytes)
346 TCP established hash table entries: 32768 (order: 6, 262144 bytes)
347 TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
348 TCP: Hash tables configured (established 32768 bind 32768)
349 TCP reno registered
350 ip_conntrack version 2.1 (4095 buckets, 32760 max) - 212 bytes per conntrack
351
352 ip_tables: (C) 2000-2002 Netfilter core team
353 ipt_recent v0.3.1: Stephen Frost <sfrost@×××××××.net>.
354 http://snowman.net/projects/ipt_recent/
355 arp_tables: (C) 2002 David S. Miller
356 TCP bic registered
357 NET: Registered protocol family 1
358 NET: Registered protocol family 17
359 powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.50.3)
360 powernow-k8: BIOS error - no PSB or ACPI _PSS objects
361 Using IPI Shortcut mode
362 ACPI wakeup devices:
363 HUB0 XVR0 XVR1 XVR2 XVR3 USB0 USB2 MMAC MMCI UAR1
364 ACPI: (supports S0 S1 S3 S4 S5)
365 ReiserFS: sda9: found reiserfs format "3.6" with standard journal
366 ReiserFS: sda9: using ordered data mode
367 ReiserFS: sda9: journal params: device sda9, size 8192, journal first block
368 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
369 ReiserFS: sda9: checking transaction log (sda9)
370 ReiserFS: sda9: Using r5 hash to sort names
371 VFS: Mounted root (reiserfs filesystem) readonly.
372 Freeing unused kernel memory: 180k freed
373 nvidia: module license 'NVIDIA' taints kernel.
374 ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNK3] -> GSI 3 (level, low) ->
375 IRQ 3
376 PCI: Setting latency timer of device 0000:01:00.0 to 64
377 NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-9639 Mon Apr 16 20:20:06
378 PDT 2007
379 ReiserFS: sda10: found reiserfs format "3.6" with standard journal
380 ReiserFS: sda10: using ordered data mode
381 ReiserFS: sda10: journal params: device sda10, size 8192, journal first
382 block 18, max trans len 1024, max batch 900, max commit age 30, max trans
383 age 30
384 ReiserFS: sda10: checking transaction log (sda10)
385 ReiserFS: sda10: Using r5 hash to sort names
386 NTFS volume version 3.1.
387 NTFS volume version 3.1.
388 fuse init (API version 7.8)
389 fuse distribution version: 2.7.0
390 Adding 1052216k swap on /dev/sda11. Priority:-1 extents:1
391 ACPI: PCI Interrupt Link [LACI] enabled at IRQ 11
392 ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LACI] -> GSI 11 (level, low) ->
393 IRQ 11
394 PCI: Setting latency timer of device 0000:00:04.0 to 64
395 intel8x0_measure_ac97_clock: measured 50582 usecs
396 intel8x0: clocking to 46841
397 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
398 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
399 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
400 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
401
402 I tried dmesg also in Gentoo LiveCD 2006.0 and Gentoo LiveCD 2007.0, couldnt
403 find any trace of scsi device. But in Kubuntu 7.04 i got it (let me cut this
404 down a little of bit this time, it's too long, you can get the full output
405 from here <http://punkid.cn/glade/kubuntu-info.txt> which features the
406 dmesg,lspci and lsmod output)
407
408 [ 0.000000] Linux version 2.6.20-15-generic (root@palmer) (gcc version
409 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC 2007 (Ubuntu
410 2.6.20-15.27-generic)
411 ...
412 [ 33.281791] SCSI subsystem initialized
413 [ 33.286398] libata version 2.20 loaded.
414 [ 33.289865] sata_nv 0000:00:07.0: version 3.3
415 [ 33.290394] ACPI: PCI Interrupt Link [APSI] enabled at IRQ 21
416 [ 33.290402] ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [APSI] -> GSI 21
417 (level, low) -> IRQ 18
418 [ 33.290411] sata_nv 0000:00:07.0: Using ADMA mode
419 [ 33.290423] PCI: Setting latency timer of device 0000:00:07.0 to 64
420 [ 33.290501] ata1: SATA max UDMA/133 cmd 0xe0856480 ctl 0xe08564a0 bmdma
421 0x0001d400 irq 18
422 [ 33.290543] ata2: SATA max UDMA/133 cmd 0xe0856580 ctl 0xe08565a0 bmdma
423 0x0001d408 irq 18
424 [ 33.290554] scsi0 : sata_nv
425 [ 33.607099] ata1: SATA link down (SStatus 0 SControl 300)
426 [ 33.607116] scsi1 : sata_nv
427 [ 33.846693] usb 1-1: new low speed USB device using ohci_hcd and address
428 2
429 [ 33.922566] ata2: SATA link down (SStatus 0 SControl 300)
430 [ 33.923770] ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 20
431 [ 33.923777] ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [APSJ] -> GSI 20
432 (level, low) -> IRQ 19
433 [ 33.923787] sata_nv 0000:00:08.0: Using ADMA mode
434 [ 33.923800] PCI: Setting latency timer of device 0000:00:08.0 to 64
435 [ 33.923870] ata3: SATA max UDMA/133 cmd 0xe0862480 ctl 0xe08624a0 bmdma
436 0x0001c000 irq 19
437 [ 33.923913] ata4: SATA max UDMA/133 cmd 0xe0862580 ctl 0xe08625a0 bmdma
438 0x0001c008 irq 19
439 [ 33.923925] scsi2 : sata_nv
440 [ 34.052254] usb 1-1: configuration #1 chosen from 1 choice
441 [ 34.066871] usbcore: registered new interface driver hiddev
442 [ 34.072392] input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)
443 as /class/input/input2
444 [ 34.072498] input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button
445 Mouse with IntelliEye(TM)] on usb-0000:00:02.0-1
446 [ 34.072513] usbcore: registered new interface driver usbhid
447 [ 34.072516] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
448 [ 34.397786] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
449 [ 34.410822] ata3.00: ata_hpa_resize 1: sectors = 312581808, hpa_sectors =
450 312581808
451 [ 34.410827] ata3.00: ATA-7: Maxtor 6V160E0, VA111630, max UDMA/133
452 [ 34.410830] ata3.00: 312581808 sectors, multi 1: LBA48 NCQ (depth 31/32)
453 [ 34.422784] ata3.00: ata_hpa_resize 1: sectors = 312581808, hpa_sectors =
454 312581808
455 [ 34.422788] ata3.00: configured for UDMA/133
456 [ 34.422797] scsi3 : sata_nv
457 [ 34.737207] ata4: SATA link down (SStatus 0 SControl 300)
458 [ 34.737983] scsi 2:0:0:0: Direct-Access ATA Maxtor 6V160E0
459 VA11 PQ: 0 ANSI: 5
460 [ 34.737992] ata3: bounce limit 0xFFFFFFFFFFFFFFFF, segment boundary
461 0xFFFFFFFF, hw segs 61
462 [ 34.739951] NFORCE-CK804: IDE controller at PCI slot 0000:00:06.0
463 [ 34.739971] NFORCE-CK804: chipset revision 242
464 [ 34.739973] NFORCE-CK804: not 100% native mode: will probe irqs later
465 [ 34.739979] NFORCE-CK804: 0000:00:06.0 (rev f2) UDMA133 controller
466 [ 34.739988] ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA,
467 hdb:DMA
468 [ 34.739996] ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA,
469 hdd:DMA
470 [ 34.740003] Probing IDE interface ide0...
471 [ 34.758729] SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
472 [ 34.758742] sda: Write Protect is off
473 [ 34.758745] sda: Mode Sense: 00 3a 00 00
474 [ 34.758758] SCSI device sda: write cache: enabled, read cache: enabled,
475 doesn't support DPO or FUA
476 [ 34.758807] SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
477 [ 34.758815] sda: Write Protect is off
478 [ 34.758817] sda: Mode Sense: 00 3a 00 00
479 [ 34.758830] SCSI device sda: write cache: enabled, read cache: enabled,
480 doesn't support DPO or FUA
481 [ 34.758833] sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 >
482 [ 34.862086] sd 2:0:0:0: Attached scsi disk sda
483 [ 34.865814] sd 2:0:0:0: Attached scsi generic sg0 type 0
484
485 [ 115.268000] ReiserFS: sda9: found reiserfs format "3.6" with standard
486 journal
487 [ 115.268000] ReiserFS: sda9: using ordered data mode
488 [ 115.276000] ReiserFS: sda9: journal params: device sda9, size 8192,
489 journal first block 18, max trans len 1024, max batch 900, max commit age
490 30, max trans age 30
491 [ 115.276000] ReiserFS: sda9: checking transaction log (sda9)
492 [ 115.352000] ReiserFS: sda9: Using r5 hash to sort names
493 ...
494
495 and i confirmed it with fdisk -l /dev/sda under Kubuntu
496
497 Disk /dev/sda: 160.0 GB, 160041885696 bytes
498 255 heads, 63 sectors/track, 19457 cylinders
499 Units = cylinders of 16065 * 512 = 8225280 bytes
500
501 Device Boot Start End Blocks Id System
502 /dev/sda1 * 1 2611 20972826 7 HPFS/NTFS
503 /dev/sda2 2612 19456 135307462+ f W95 Ext'd (LBA)
504 /dev/sda5 2612 5222 20972826 7 HPFS/NTFS
505 /dev/sda6 5223 9138 31455238+ 7 HPFS/NTFS
506 /dev/sda7 9139 15976 54926203+ 7 HPFS/NTFS
507 /dev/sda8 15977 15981 40131 83 Linux
508 /dev/sda9 15982 18276 18434556 83 Linux
509 /dev/sda10 18277 19325 8426061 83 Linux
510 /dev/sda11 19326 19456 1052226 82 Linux swap / Solaris
511
512
513 And definitely let me show you my kernel config in
514 gentoo-sources-2.6.22-r6(which fails with a VFS error), here's the
515 necessary setting i enabled with
516 built-in support for sata device, you can also check the whole kernel config
517 here <http://punkid.cn/glade/config-2.6.22-gentoo-r6.txt>
518
519 # SCSI device support
520 #
521 # CONFIG_RAID_ATTRS is not set
522 CONFIG_SCSI=y
523 # CONFIG_SCSI_TGT is not set
524 # CONFIG_SCSI_NETLINK is not set
525 CONFIG_SCSI_PROC_FS=y
526
527 #
528 # SCSI support type (disk, tape, CD-ROM)
529 #
530 CONFIG_BLK_DEV_SD=y
531 # CONFIG_CHR_DEV_ST is not set
532 # CONFIG_CHR_DEV_OSST is not set
533 # CONFIG_BLK_DEV_SR is not set
534 CONFIG_CHR_DEV_SG=y
535 # CONFIG_CHR_DEV_SCH is not set
536
537 ...
538
539 CONFIG_ATA=y
540 # CONFIG_ATA_NONSTANDARD is not set
541 CONFIG_ATA_ACPI=y
542 # CONFIG_SATA_AHCI is not set
543 # CONFIG_SATA_SVW is not set
544 # CONFIG_ATA_PIIX is not set
545 # CONFIG_SATA_MV is not set
546 CONFIG_SATA_NV=y
547
548 ...
549
550 # File systems
551 #
552 CONFIG_EXT2_FS=y
553 CONFIG_EXT2_FS_XATTR=y
554 CONFIG_EXT2_FS_POSIX_ACL=y
555 # CONFIG_EXT2_FS_SECURITY is not set
556 # CONFIG_EXT2_FS_XIP is not set
557 CONFIG_EXT3_FS=y
558 CONFIG_EXT3_FS_XATTR=y
559 # CONFIG_EXT3_FS_POSIX_ACL is not set
560 # CONFIG_EXT3_FS_SECURITY is not set
561 # CONFIG_EXT4DEV_FS is not set
562 CONFIG_JBD=y
563 # CONFIG_JBD_DEBUG is not set
564 CONFIG_FS_MBCACHE=y
565 CONFIG_REISERFS_FS=y
566 # CONFIG_REISERFS_CHECK is not set
567 # CONFIG_REISERFS_PROC_INFO is not set
568 # CONFIG_REISERFS_FS_XATTR is not set
569 ...
570
571 To confirm it's not the prob of kernel itself, i diffed the ata section
572 between vanilla-kernel and ubuntu kernel, there's no special patches for
573 ubuntu kernel, and actually Fedora 7 LiveCD's kernel is quite the same as
574 vanilla-kernel. So its not the prob of kernel itself, in i say.
575
576 IMHO, maybe its the compatibility prob between the ASUS K8N4-E mainboard and
577 Gentoo system, forget my silly words if i were wrong, cuz at least kernels<=
578 2.6.13 work well in my Gentoo system please share your ideas with me and
579 help me out of this looooooooooooong time prob. Thx for your patience and
580 enthusiastic help.

Replies