HD detection issue.

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
sgn
Posts: 68
Joined: Mon Oct 25, 2004 2:36 pm

HD detection issue.

Post by sgn »

Does the LiveCD have any problems with this hardware:
P4 3.0Ghz (LGA775 800Mhz FSB)
ASUS P5P800 MB
1024 MB 3200-DDR
WD 200GB SATA-150GB

Asking since the LiveCD cant find any drives to partition. Just getting xx's.

Replies are appreciated.
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

I dont see anything in your hardware list that I would expect to be a problem. I have never tried the livecd with an SATA drive, but I believe SATA support has been up to speed in the mainline kernel for some time.
Could you post more specific debug information? For example the output from dmesg. And a more complete description of what diskdrake sees/does. Have you tried using fdisk rather than gui tools?

Best regards,
Ross
ekiboy69
Posts: 101
Joined: Tue Jun 22, 2004 9:26 pm
Location: Kaarina-Finland

Sata is not really recognized by LiveCD

Post by ekiboy69 »

Ross,

I am not the original person asking this but since I bumped into this I'll try to sketch the problem.

It seems the Mandrake 10 platform does not include support to all new gadgets. I tried to do a Live CD version 1.19.5 install on a brand new HP Compaq dc7100 CMT. There are several problems:

* SATA drive is not recognized (I guess it is a chipset support problem)
* USB keyboard that is delivered with the PC does not work when booting the Live CD (the keyboard works OK on SuSE personal 9.1)
* the Broadcom-chipset based integrated NIC is not recognized by Mandrake (therefore posting dmesg output is a a bit complicated)

Anyway, using a PS/2 it is possible to browse through the dmesg. The problem is that the SATA disks are not recognized at all. The IDE-controller on the mobo is probed and recognized and the same goes for the 2 DVD drives installed. There however are no /sda -drives as there should be if the SATA-drive(s) would be recgnized.

lspci says: IDE interface: Intel Corp.: Unknown device 266f (rev 03)

and IDE interface: Intel Corp.: Unknown device 2651 (rev 03)

but nothing about the SATA hardware.

Using fdisk without the device argument is of course not possible if the device is not "there".


Harddrake does not seem to be able to identify nor see the SATA hardware either.

In my case I knew that HP is selling this PC with preinstalled SuSE. So my solution is install ZM manually on SuSE Personal Edition 9.1. Everything worked OK exept for the integrated Broadcom NIC that needed new drivers. Most importantly the SATA drive works.

Cheerio,
Last edited by ekiboy69 on Sun Nov 14, 2004 2:55 pm, edited 1 time in total.
ekiboy69
Posts: 101
Joined: Tue Jun 22, 2004 9:26 pm
Location: Kaarina-Finland

SuSE dmesg output

Post by ekiboy69 »

Here is dmesg data concerning IDE and SATA drives from a SuSE Personal Edition 9.1 boot:

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH6: IDE controller at PCI slot 0000:00:1f.1
ICH6: chipset revision 3
ICH6: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x14e0-0x14e7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x14e8-0x14ef, BIOS settings: hdc:pio, hdd:pio
hda: HL-DT-ST DVDRAM GSA-4160B, ATAPI CD/DVD-ROM drive
hdb: LITE-ON COMBO SOHC-4832K, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide-floppy driver 0.99.newide

clip-------------
SATA:

SCSI subsystem initialized
libata version 1.02 loaded.
ata_piix version 1.02
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x1818 ctl 0x1832 bmdma 0x14F0 irq 19
ata2: SATA max UDMA/133 cmd 0x1820 ctl 0x1836 bmdma 0x14F8 irq 19
ata1: dev 0 cfg 49:2f00 82:3069 83:7c01 84:4003 85:3069 86:3401 87:4003 88:203f
ata1: dev 0 ATA, max UDMA/100, 156301488 sectors (lba48)
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
ata2: SATA port has no device.
ata2: thread exiting
scsi1 : ata_piix
Vendor: ATA Model: ST380013AS Rev: 1.02
Type: Direct-Access ANSI SCSI revision: 05
ata1: dev 0 max request 512KB (lba48)
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write through
sda: sda1 sda2 sda3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0



The whole dmesg follows:
Linux version 2.6.5-7.111-smp (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Wed Oct 13 15:45:13 UTC 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001f7e4000 (usable)
BIOS-e820: 000000001f7e4000 - 0000000020000000 (reserved)
BIOS-e820: 00000000d0000000 - 00000000e0000000 (reserved)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
508MB vmalloc/ioremap area available.
0MB HIGHMEM available.
503MB LOWMEM available.
found SMP MP-table at 000fe700
On node 0 totalpages: 128996
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 124900 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
Using APIC driver default
ACPI: RSDP (v000 COMPAQ ) @ 0x000e9c10
ACPI: RSDT (v001 COMPAQ CPQ0968 0x20040616 0x00000000) @ 0x1f7f4040
ACPI: FADT (v001 COMPAQ GRANTSD 0x00000001 0x00000000) @ 0x1f7f40ec
ACPI: SSDT (v001 COMPAQ PROJECT 0x00000001 MSFT 0x0100000e) @ 0x1f7f55e1
ACPI: MADT (v001 COMPAQ GRANTSD 0x00000001 0x00000000) @ 0x1f7f4160
ACPI: ASF! (v032 COMPAQ GRANTSD 0x00000001 0x00000000) @ 0x1f7f41c8
ACPI: MCFG (v001 COMPAQ GRANTSD 0x00000001 0x00000000) @ 0x1f7f422b
ACPI: DSDT (v001 COMPAQ DSDT 0x00000001 MSFT 0x0100000e) @ 0x00000000
ACPI: PM-Timer IO Port: 0xf808
ACPI: Local APIC address 0xfee00000
ES7000: did not find Unisys ACPI OEM table!
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:3 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:3 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: apic_id 1 already used, trying 2
IOAPIC[0]: Assigned apic_id 2
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Built 1 zonelists
Kernel command line: root=/dev/sda3 vga=791 desktop resume=/dev/sda2 splash=silent
bootsplash: silent mode.
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
CKRM Initialization
...... Initializing ClassType<taskclass> ........
...... Initializing ClassType<socket_class> ........
CKRM Initialization done
Detected 2993.123 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Memory: 504932k/515984k available (2228k kernel code, 10264k reserved, 761k data, 244k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 5898.24 BogoMIPS
Security Scaffold v1.0.0 initialized
SELinux: Disabled at boot.
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000
monitor/mwait feature present.
using mwait in idle threads.
CPU: Trace cache: 12K uops
CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU#0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU#0: Thermal monitoring enabled
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 04
per-CPU timeslice cutoff: 2924.86 usecs.
task migration cache decay timeout: 3 msecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Booting processor 1/1 eip 3000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 5980.16 BogoMIPS
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000
monitor/mwait feature present.
CPU: Trace cache: 12K uops
CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU#1: Intel P4/Xeon Extended MCE MSRs (12) available
CPU#1: Thermal monitoring enabled
CPU1: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 04
Total of 2 processors activated (11878.40 BogoMIPS).
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2992.0133 MHz.
..... host bus clock speed is 199.0475 MHz.
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Looking for DSDT in initrd ...No customized DSDT found in initrd!
Freeing initrd memory: 1335k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.20 entry at 0xec4ff, last bus=64
PCI: Using MMCONFIG
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCX1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCX2._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB_._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 14 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
00:00:1f[A] -> 2-17 -> IRQ 17 level low
00:00:1f -> 2-19 -> IRQ 19 level low
00:00:1f[C] -> 2-18 -> IRQ 18 level low
00:00:1e[A] -> 2-21 -> IRQ 21 level low
00:00:1d[A] -> 2-20 -> IRQ 20 level low
00:00:1d[D] -> 2-22 -> IRQ 22 level low
00:00:1c[A] -> 2-16 -> IRQ 16 level low
number of MP IRQ sources: 15.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................
IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 00170020
....... : max redirection entries: 0017
....... : PRQ implemented: 0
....... : IO APIC version: 0020
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 0FF 0F 0 0 0 0 0 1 1 39
02 0FF 0F 0 0 0 0 0 1 1 31
03 0FF 0F 0 0 0 0 0 1 1 41
04 0FF 0F 0 0 0 0 0 1 1 49
05 0FF 0F 0 0 0 0 0 1 1 51
06 0FF 0F 0 0 0 0 0 1 1 59
07 0FF 0F 0 0 0 0 0 1 1 61
08 0FF 0F 0 0 0 0 0 1 1 69
09 0FF 0F 0 1 0 0 0 1 1 71
0a 0FF 0F 0 0 0 0 0 1 1 79
0b 0FF 0F 0 0 0 0 0 1 1 81
0c 0FF 0F 0 0 0 0 0 1 1 89
0d 0FF 0F 0 0 0 0 0 1 1 91
0e 0FF 0F 0 0 0 0 0 1 1 99
0f 0FF 0F 0 0 0 0 0 1 1 A1
10 003 03 1 1 0 1 0 1 1 D9
11 003 03 1 1 0 1 0 1 1 A9
12 003 03 1 1 0 1 0 1 1 B9
13 003 03 1 1 0 1 0 1 1 B1
14 003 03 1 1 0 1 0 1 1 C9
15 003 03 1 1 0 1 0 1 1 C1
16 003 03 1 1 0 1 0 1 1 D1
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ21 -> 0:21
IRQ22 -> 0:22
.................................... done.
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
vesafb: framebuffer at 0xe0000000, mapped to 0xe000a000, size 7872k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at 00ff:44f0
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb0: VESA VGA frame buffer device
apm: BIOS not found.
Starting balanced_irq
Initial HugeTLB pages allocated: 0
VFS: Disk quotas dquot_6.5.1
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
bootsplash 3.1.6-2004/03/31: looking for picture...<6> silentjpeg size 35400 bytes,<6>...found (1024x768, 16102 bytes, v3).
Console: switching to colour frame buffer device 118x41
Real Time Clock Driver v1.12
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Using anticipatory io scheduler
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 64000K 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
ICH6: IDE controller at PCI slot 0000:00:1f.1
ICH6: chipset revision 3
ICH6: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x14e0-0x14e7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x14e8-0x14ef, BIOS settings: hdc:pio, hdd:pio
hda: HL-DT-ST DVDRAM GSA-4160B, ATAPI CD/DVD-ROM drive
hdb: LITE-ON COMBO SOHC-4832K, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide-floppy driver 0.99.newide
mice: PS/2 mouse device common for all mice
input: PC Speaker
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 8
NET: Registered protocol family 20
ACPI: (supports S0 S1 S3 S4 S5)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
SCSI subsystem initialized
libata version 1.02 loaded.
ata_piix version 1.02
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x1818 ctl 0x1832 bmdma 0x14F0 irq 19
ata2: SATA max UDMA/133 cmd 0x1820 ctl 0x1836 bmdma 0x14F8 irq 19
ata1: dev 0 cfg 49:2f00 82:3069 83:7c01 84:4003 85:3069 86:3401 87:4003 88:203f
ata1: dev 0 ATA, max UDMA/100, 156301488 sectors (lba48)
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
ata2: SATA port has no device.
ata2: thread exiting
scsi1 : ata_piix
Vendor: ATA Model: ST380013AS Rev: 1.02
Type: Direct-Access ANSI SCSI revision: 05
ata1: dev 0 max request 512KB (lba48)
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write through
sda: sda1 sda2 sda3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
hda: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
hdb: ATAPI 48X DVD-ROM CD-R/RW drive, 2048kB Cache
ReiserFS: sda3: found reiserfs format "3.6" with standard journal
ReiserFS: sda3: using ordered data mode
reiserfs: using flush barriers
ReiserFS: sda3: journal params: device sda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda3: checking transaction log (sda3)
reiserfs: disabling flush barriers on sda3
ReiserFS: sda3: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing unused kernel memory: 244k freed
Adding 1020116k swap on /dev/sda2. Priority:42 extents:1
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: using ordered data mode
reiserfs: using flush barriers
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
reiserfs: disabling flush barriers on sda1
ReiserFS: sda1: Using r5 hash to sort names
subfs 0.9
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Broadcom Gigabit Ethernet Driver bcm5700 with Broadcom NIC Extension (NICE) ver. 7.2.24 (04/23/04)
PCI: Setting latency timer of device 0000:40:00.0 to 64
eth0: Broadcom BCM5751 1000Base-T PCI Express found at mem f0400000, IRQ 17, node addr 00118582cbe5
eth0: Broadcom BCM5750 Integrated Copper transceiver found
eth0: Scatter-gather ON, 64-bit DMA ON, Tx Checksum ON, Rx Checksum ON, 802.1Q VLAN ON, TSO ON
NET: Registered protocol family 17
bcm5700: eth0 NIC Link is UP, 100 Mbps full duplex, receive & transmit flow control ON
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:1d.0: UHCI Host Controller
hw_random: RNG not detected
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 20, io base 00001440
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
usb usb1: Product: UHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.5-7.111-smp uhci_hcd
usb usb1: SerialNumber: 0000:00:1d.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 18, io base 00001460
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.5-7.111-smp uhci_hcd
usb usb2: SerialNumber: 0000:00:1d.1
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 21, io base 00001480
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.5-7.111-smp uhci_hcd
usb usb3: SerialNumber: 0000:00:1d.2
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.3: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: irq 22, io base 000014a0
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.5-7.111-smp uhci_hcd
usb usb4: SerialNumber: 0000:00:1d.3
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ehci_hcd 0000:00:1d.7: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 20, pci mem e085e000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
usb usb5: Product: EHCI Host Controller
usb usb5: Manufacturer: Linux 2.6.5-7.111-smp ehci_hcd
usb usb5: SerialNumber: 0000:00:1d.7
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 8 ports detected
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1, 8 throttling states)
ACPI: Processor [CPU1] (supports C1, 8 throttling states)
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
Non-volatile memory driver v1.2
st: Version 20040318, fixed bufsize 32768, s/g segs 256
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
BIOS EDD facility v0.13 2004-Mar-09, 1 devices found
eth0: no IPv6 routers present
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

Thank you for posting this report. Since you have access to an SATA system perhaps you would help me narrow down the problem.

If you would please boot the system from the livecd, and then as root run /usr/sbin/hwdetect. This should reveal whether the hardware detect script will config these drives when having access to all modules in /lib/modules rather than only those in the initrd. If so this may be a simple work around.

If this doesn't help, could you try modprobing the relevant module. lsmod on your Suse system will hopefully reveal which module is needed.

If you can lend a hand in this way I will try to have this resolved for next version.

Thanks,

Ross
ekiboy69
Posts: 101
Joined: Tue Jun 22, 2004 9:26 pm
Location: Kaarina-Finland

SATA system modules on SuSE 9.1 personal

Post by ekiboy69 »

Here is the output of lsmod. My problem is that I do not understand what module could take care of the SATA. Could it be sd_mod?

lepakko@ruissalo:~> lsmod
Module Size Used by
udf 94084 0
snd_pcm_oss 65576 0
snd_pcm 112772 1 snd_pcm_oss
snd_page_alloc 16136 1 snd_pcm
snd_timer 32132 1 snd_pcm
snd_mixer_oss 24448 1 snd_pcm_oss
snd 71012 4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 13536 1 snd
edd 13720 0
joydev 14528 0
sg 41632 0
st 44956 0
sr_mod 21028 0
nvram 13448 0
usbserial 35952 0
parport_pc 41024 1
lp 15364 0
parport 44232 2 parport_pc,lp
ipv6 275580 15
thermal 16648 0
processor 21312 1 thermal
fan 8196 0
button 10384 0
battery 12804 0
ac 8964 0
ehci_hcd 33412 0
uhci_hcd 35728 0
evdev 13952 0
af_packet 26376 0
bcm5700 133752 0
usbcore 116572 5 usbserial,ehci_hcd,uhci_hcd
subfs 12160 2
dm_mod 57472 0
ide_cd 42628 0
cdrom 42780 2 sr_mod,ide_cd
reiserfs 263760 2
ata_piix 11908 3
libata 43648 1 ata_piix,[permanent]
sd_mod 25088 4
scsi_mod 118468 5 sg,st,sr_mod,libata,sd_mod
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

My best guess would be ata_piix
SCSI subsystem initialized
libata version 1.02 loaded.
ata_piix version 1.02
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x1818 ctl 0x1832 bmdma 0x14F0 irq 19
ata2: SATA max UDMA/133 cmd 0x1820 ctl 0x1836 bmdma 0x14F8 irq 19
ata1: dev 0 cfg 49:2f00 82:3069 83:7c01 84:4003 85:3069 86:3401 87:4003 88:203f
ata1: dev 0 ATA, max UDMA/100, 156301488 sectors (lba48)
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
ata2: SATA port has no device.
ata2: thread exiting
scsi1 : ata_piix
Hopefully using modprobe will load all required scsi subsystem modules automagically.

Also I will mention that Texstar on the mklivecd forum gave me a solution for the USB keyboard problem. So that will be fixed.

Thanks,

Ross
ekiboy69
Posts: 101
Joined: Tue Jun 22, 2004 9:26 pm
Location: Kaarina-Finland

SATA on Livecd 1.19.5

Post by ekiboy69 »

Hello,

Here we go. The HP Compaq DC7100 CMT tells us the following things when booted from a LiveCD:

[/home/user]# /usr/sbin/hwdetect
Starting hardware detection (hwdetect v0.5.7-20040904): [ OK ]
Reading modules configuration: [ OK ]
Probing PCI controllers: [ OK ]
(null) [FAILED]
(null) [FAILED]
(null) [FAILED]
(null) [FAILED]
(null) [LOADED]
(null)
(null)
(null)
Intel Corporation, 82820 815e (Camino 2) Chipset PCI
(null)
Initialising USB controllers: [ OK ]
Loading base USB modules: [LOADED]
Probing devices: [ OK ]
Selecting keyboard: [ OK ]
Finnish
Detecting mouse: [ OK ]
Universal Any PS/2 & USB mice
Detecting video cards: 0 found [ WARN ]
[FAILED]
Selecting monitor: [ OK ]
Generic, 1024x768 @ 60 Hz
Selecting resolution: [ OK ]
1024x768, 16 bpp
Writing X configuration: [ OK ]
Detecting sound cards: 1 found [ OK ]

Detecting network cards: 2 found [ OK ]
(null)
3Com Corporation, 3c905C-TX [Fast Etherlink]
IPV6 turned off
Detecting USB devices: 0 found [ OK ]
Writing modules configuration: [ OK ]
Detecting disk drives/partitions: 2 found [ OK ]
Writing partition configuration:
Finding persistent partitions: [ OK ]
Creating device mountpoints: [ OK ]
Writing /etc/fstab: [ OK ]
[/home/user]#

[/home/user]# modprobe ata_piix
[/home/user]# lsmod
Module Size Used by
ata_piix 7844 0
libata 39652 1 ata_piix
parport_pc 33120 1
lp 11788 0
parport 38984 2 parport_pc,lp
ipv6 246272 17
sg 37596 0
i810_audio 32820 0
ac97_codec 17356 1 i810_audio
af_packet 21768 2
button 6288 0
thermal 12392 0
processor 17224 1 thermal
fan 3972 0
ac 4772 0
battery 8804 0
3c59x 38632 0
supermount 37812 2
tvaudio 21484 0
bttv 147244 0
video-buf 20292 1 bttv
i2c-algo-bit 9192 1 bttv
v4l2-common 6144 1 bttv
btcx-risc 4680 1 bttv
i2c-core 23476 3 tvaudio,bttv,i2c-algo-bit
videodev 9792 1 bttv
soundcore 9952 2 i810_audio,bttv
via-agp 8480 0
agpgart 32552 1 via-agp
rtc 12568 0
floppy 58992 0
visor 16432 0
usbserial 28624 1 visor
squashfs 30804 1
usb-storage 72580 0
ehci-hcd 29156 0
ohci-hcd 21476 0
uhci-hcd 31024 0
usbcore 107872 8 visor,usbserial,usb-storage,ehci-hcd,ohci-hcd,uhci-hcd
mptbase 47296 0
sd_mod 21312 0
sr_mod 18308 0
scsi_mod 114796 5 libata,sg,usb-storage,sd_mod,sr_mod
loop 15592 2
ide-cd 39808 1
cdrom 37180 2 sr_mod,ide-cd
isofs 34008 1
zlib_inflate 22528 2 squashfs,isofs


After doing this I tried browsing partitions with Mandrake Control Center.. No luck.. Nothing to view - MCC gets stuck on the loading phase when opening the view "Mount points".

Please give me advice if you need more information.
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

Thanks for testing that. It looks like there won't be a quick work around for SATA drives. I will keep the matter before the mklivecd developers and hope for a fix upstream. I'll work on it myself if I can swing a machine with SATA. Anyone interested in donating hardware to this cause? :)

If you want to try one more thing, I would be interested in seeing the output of dmesg after modprobing ata_piix. Perhaps also running hwdetect after.

Thanks again,

Ross
ekiboy69
Posts: 101
Joined: Tue Jun 22, 2004 9:26 pm
Location: Kaarina-Finland

SATA and LiveCD1.19.5 - how to make it work

Post by ekiboy69 »

Hello,

I have glad news for you all. It is possible to manually load the SATA modules and ole the installation script. All that is needed is to say first

modprobe ata_piix

and then after that

hwdetect

After this you will find SATA disk in the MCC Partitioner.

Command output:

[/home/user]# modprobe ata_piix
[/home/user]# dmesg
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Memory: 505776k/515984k available (1966k kernel code, 9444k reserved, 867k data, 268k init, 0k highmem, 0k BadRAM)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 5914.62 BogoMIPS
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000
monitor/mwait feature present.
using mwait in idle threads.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC (apicid-pin) 1-0, 1-16, 1-17, 1-18, 1-19, 1-20, 1-21, 1-22, 1-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2991.0855 MHz.
..... host bus clock speed is 199.0456 MHz.
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 1872k freed
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.20 entry at 0xec4ff, last bus=64
PCI: Using MMCONFIG
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
Looking for DSDT in initrd ... not found!
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCX1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCX2._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB_._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 14 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Disabled
00:00:1f[A] -> 1-17 -> IRQ 17 level low
00:00:1f -> 1-19 -> IRQ 19 level low
00:00:1f[C] -> 1-18 -> IRQ 18 level low
00:00:1e[A] -> 1-21 -> IRQ 21 level low
00:00:1d[A] -> 1-20 -> IRQ 20 level low
00:00:1d[D] -> 1-22 -> IRQ 22 level low
00:00:1c[A] -> 1-16 -> IRQ 16 level low
number of MP IRQ sources: 15.
number of IO-APIC #1 registers: 24.
testing the IO APIC.......................
IO APIC #1......
.... register #00: 01000000
....... : physical APIC id: 01
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 00170020
....... : max redirection entries: 0017
....... : PRQ implemented: 0
....... : IO APIC version: 0020
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 05B 0B 1 0 0 0 0 0 2 7A
01 001 01 0 0 0 0 0 1 1 39
02 001 01 0 0 0 0 0 1 1 31
03 001 01 0 0 0 0 0 1 1 41
04 001 01 0 0 0 0 0 1 1 49
05 001 01 0 0 0 0 0 1 1 51
06 001 01 0 0 0 0 0 1 1 59
07 001 01 0 0 0 0 0 1 1 61
08 001 01 0 0 0 0 0 1 1 69
09 001 01 0 1 0 0 0 1 1 71
0a 001 01 0 0 0 0 0 1 1 79
0b 001 01 0 0 0 0 0 1 1 81
0c 001 01 0 0 0 0 0 1 1 89
0d 001 01 0 0 0 0 0 1 1 91
0e 001 01 0 0 0 0 0 1 1 99
0f 001 01 0 0 0 0 0 1 1 A1
10 001 01 1 1 0 1 0 1 1 D9
11 001 01 1 1 0 1 0 1 1 A9
12 001 01 1 1 0 1 0 1 1 B9
13 001 01 1 1 0 1 0 1 1 B1
14 001 01 1 1 0 1 0 1 1 C9
15 001 01 1 1 0 1 0 1 1 C1
16 001 01 1 1 0 1 0 1 1 D1
17 05B 0B 1 0 0 0 0 0 2 BA
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ21 -> 0:21
IRQ22 -> 0:22
.................................... done.
PCI: Using ACPI for IRQ routing
vesafb: framebuffer at 0xe0000000, mapped to 0xe000a000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at 00ff:44f0
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb0: VESA VGA frame buffer device
apm: BIOS not found.
audit: initializing netlink socket (disabled)
audit(1100683329.144:0): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
bootsplash 3.1.4-2004/02/19: looking for picture.... silentjpeg size 21328 bytes, found (1024x768, 21280 bytes, v3).
Console: switching to colour frame buffer device 118x39
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH6: IDE controller at PCI slot 0000:00:1f.1
ICH6: chipset revision 3
ICH6: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x34e0-0x34e7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x34e8-0x34ef, BIOS settings: hdc:pio, hdd:pio
hda: HL-DT-ST DVDRAM GSA-4160B, ATAPI CD/DVD-ROM drive
hdb: LITE-ON COMBO SOHC-4832K, ATAPI CD/DVD-ROM drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
EISA: Probing bus 0 at eisa0
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET: Registered protocol family 1
PM: Reading pmdisk image.
PM: Resume from disk failed.
ACPI: (supports S0 S1 S3 S4 S5)
BIOS EDD facility v0.15 2004-May-17, 1 devices found
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
hda: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(66)
Uniform CD-ROM driver Revision: 3.20
hdb: ATAPI 48X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
loop: loaded (max 8 devices)
SCSI subsystem initialized
Fusion MPT base driver 3.01.06
Copyright (c) 1999-2004 LSI Logic Corporation
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:1d.0: Intel Corp. I/O Controller Hub USB
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 20, io base 00003440
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: Intel Corp. I/O Controller Hub USB
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 18, io base 00003460
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: Intel Corp. I/O Controller Hub USB
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 21, io base 00003480
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.3: Intel Corp. I/O Controller Hub USB
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: irq 22, io base 000034a0
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
ehci_hcd 0000:00:1d.7: Intel Corp. I/O Controller Hub USB2
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 20, pci mem e04a2000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 8 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
3ware Storage Controller device driver for Linux v1.26.00.039.
3w-xxxx: No cards found.
3ware Storage Controller device driver for Linux v1.26.00.039.
3w-xxxx: No cards found.
ISO 9660 Extensions: Microsoft Joliet Level 3
Unable to load NLS charset iso8859-1
Unable to load NLS charset iso8859-1
ISO 9660 Extensions: RRIP_1991A
Mounted devfs on /dev
Freeing unused kernel memory: 268k freed
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0
usbcore: registered new driver visor
drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver v2.1
inserting floppy driver for 2.6.7-2.tmb.3mdk
FDC 0 is a post-1991 82077
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
Linux video capture interface: v1.00
bttv: driver version 0.9.14 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:05:09.0, irq: 18, latency: 32, mmio: 0xf0500000
bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
bttv0: using: Hauppauge (bt878) [card=10,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffffdb [init]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
bttv0: Hauppauge eeprom: model=44804, tuner=<NULL> (-1), radio=no
bttv0: using tuner=-1
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951),ta8874z
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
Supermount version 2.0.4 for kernel 2.6
SUPERMOUNT WARNING [dev=/dev/hda] no fs=<filesystem> option, assuming fs=auto
SUPERMOUNT WARNING [dev=/dev/hdb] no fs=<filesystem> option, assuming fs=auto
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:05:04.0: 3Com PCI 3c905C Tornado at 0x1000. Vers LK1.1.19
ACPI: Processor [CPU0] (supports C1, 8 throttling states)
ACPI: Power Button (FF) [PWRF]
NET: Registered protocol family 17
Intel 810 + AC97 Audio, version 1.01, 15:40:12 Jul 15 2004
PCI: Setting latency timer of device 0000:00:1e.2 to 64
i810: Intel ICH4 found at IO 0x3400 and 0x3000, MEM 0xcff40400 and 0xcff40600, IRQ 21
i810: Intel ICH4 mmio at 0xe05b6400 and 0xe05b8600
i810_audio: Primary codec has ID 0
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
i810_audio: Connection 0 with codec id 0
ac97_codec: AC97 Audio codec, id: ADS116 (Unknown)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
i810_audio: setting clocking to 48587
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0386740(lo)
IPv6 over IPv4 tunneling driver
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
eth0: no IPv6 routers present
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 16618 bytes, v3).
bootsplash: status on console 0 changed to on
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 16618 bytes, v3).
bootsplash: status on console 1 changed to on
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 16618 bytes, v3).
bootsplash: status on console 2 changed to on
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 16618 bytes, v3).
bootsplash: status on console 3 changed to on
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 16618 bytes, v3).
bootsplash: status on console 4 changed to on
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 16618 bytes, v3).
bootsplash: status on console 5 changed to on
udf: registering filesystem
Disabled Privacy Extensions on device c0386740(lo)
eth0: no IPv6 routers present
Disabled Privacy Extensions on device c0386740(lo)
eth0: no IPv6 routers present
Disabled Privacy Extensions on device c0386740(lo)
eth0: no IPv6 routers present
Disabled Privacy Extensions on device c0386740(lo)
eth0: no IPv6 routers present
libata version 1.02 loaded.
ata_piix version 1.02
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x3818 ctl 0x3832 bmdma 0x34F0 irq 19
ata2: SATA max UDMA/133 cmd 0x3820 ctl 0x3836 bmdma 0x34F8 irq 19
ata1: dev 0 cfg 49:2f00 82:3069 83:7c01 84:4003 85:3069 86:3401 87:4003 88:203f
ata1: dev 0 ATA, max UDMA/100, 156301488 sectors: lba48
ata1: dev 0 configured for UDMA/100
scsi2 : ata_piix
ata2: SATA port has no device.
scsi3 : ata_piix
Vendor: ATA Model: ST380013AS Rev: 3.20
Type: Direct-Access ANSI SCSI revision: 05
ata1: dev 0 max request 32MB (lba48)
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write back
/dev/scsi/host2/bus0/target0/lun0: p1 p2 p3
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0, type 0

[/home/user]# hwdetect
Starting hardware detection (hwdetect v0.5.7-20040904): [ OK ]
Reading modules configuration: [ OK ]
Probing PCI controllers: [ OK ]
(null) [FAILED]
(null) [FAILED]
(null) [FAILED]
(null) [FAILED]
(null) [LOADED]
(null)
(null)
(null)
Intel Corporation, 82820 815e (Camino 2) Chipset PCI
(null)
Initialising USB controllers: [ OK ]
Loading base USB modules: [LOADED]
Probing devices: [ OK ]
Selecting keyboard: [ OK ]
Finnish
Detecting mouse: [ OK ]
Universal Any PS/2 & USB mice
Detecting video cards: 0 found [ WARN ]
[FAILED]
Selecting monitor: [ OK ]
Generic, 1024x768 @ 60 Hz
Selecting resolution: [ OK ]
1024x768, 16 bpp
Writing X configuration: [ OK ]
Detecting sound cards: 1 found [ OK ]

Detecting network cards: 2 found [ OK ]
(null)
3Com Corporation, 3c905C-TX [Fast Etherlink]
IPV6 turned off
Detecting USB devices: 0 found [ OK ]
Writing modules configuration: [ OK ]
Detecting disk drives/partitions: 5 found [ OK ]
Writing partition configuration:
Finding persistent partitions: [ OK ]
Creating device mountpoints: [ OK ]
Writing /etc/fstab:[ OK ]
ekiboy69
Posts: 101
Joined: Tue Jun 22, 2004 9:26 pm
Location: Kaarina-Finland

Able to install system - unable to boot from SATA drive

Post by ekiboy69 »

Hello,

I was able to install the system using the tricks described above. The system does not boot.

When mounting the root filesystem I get three different versions of mounting error:

mount: error 6 mounting ext3 flags defaults
well, retrying without the option flags
mount: error 6 mounting ext3
well, retrying read-only without any flag
mount: error 6 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
Remounting devfs in correct place if necessary
Mounted devfs on /dev
Freeing unused kernel memory: 268k freed
Kernel panic: No init found. Try passing init= option to kernel.


I guess this is because the system does not load the appropriate kernel module. How do I make the system load the necessary module?
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

As long as we have come this far I guess we might as well see if we can fix this.

1) Boot from the livecd, and modprobe ata_piix. Then run hwdetect

2) Chroot to the root partition of the installation:
mount /mnt/hdax (whatever the mount point of the root partition)
mount -t devfs none /mnt/hdax/dev
mount -t proc none /mnt/hdax/proc
chroot /mnt/hdax

3) mkinitrd -v -f --preload=ata_piix /boot/initrd-2.6.7-2.tmb.3mdk.img 2.6.7-2.tmb.3mdk

4) lilo -v
umount /mnt/hdax/proc
umount /mnt/hdax/dev
exit

5) cross fingers and reboot

I hope this works but you are well into experimental territory.


Ross
ekiboy69
Posts: 101
Joined: Tue Jun 22, 2004 9:26 pm
Location: Kaarina-Finland

Problem seems to be in hwdetect

Post by ekiboy69 »

Hello,

I followed your advice but ran into more problems.

I think the problem might be in how hwdetect does things. It seems that hwdetect does not do the mounting of partitions correctly. More precisely installing module and running hwdetect creates mountpoints to the partitions but directory listing shows nothing - just nothing.

To make it sure that there is something on the SATA partitions I installed SuSE using EXT3 partitions on the system. SuSE works OK. When I boot with Livecd and try to access paritions by

[/home/user]# modprobe ata_piix
[/home/user]# hwdetect
Starting hardware detection (hwdetect v0.5.7-20040904): [ OK ]
Reading modules configuration: [ OK ]
Probing PCI controllers: [ OK ]
(null) [FAILED]
(null) [FAILED]
(null) [FAILED]
(null) [FAILED]
(null) [LOADED]
(null)
(null)
(null)
Intel Corporation, 82820 815e (Camino 2) Chipset PCI
(null)
Initialising USB controllers: [ OK ]
Loading base USB modules: [LOADED]
Probing devices: [ OK ]
Selecting keyboard: [ OK ]
Finnish
Detecting mouse: [ OK ]
Universal Any PS/2 & USB mice
Detecting video cards: 0 found [ WARN ]
[FAILED]
Selecting monitor: [ OK ]
Generic, 1024x768 @ 60 Hz
Selecting resolution: [ OK ]
1024x768, 16 bpp
Writing X configuration: [ OK ]
Detecting sound cards: 1 found [ OK ]

Detecting network cards: 2 found [ OK ]
(null)
3Com Corporation, 3c905C-TX [Fast Etherlink]
IPV6 turned off
Detecting USB devices: 0 found [ OK ]
Writing modules configuration: [ OK ]
Detecting disk drives/partitions: 5 found [ OK ]
Writing partition configuration:
Finding persistent partitions: [ OK ]
Creating device mountpoints: [ OK ]
Writing /etc/fstab: [ OK ]

[/mnt/sda6]# cd /mnt/sda1
[/mnt/sda1]# ls
[/mnt/sda1]#

Am I missing a point here? To me it seems like the poartitions are not mounted recognized properly.

/etc/fstab includes the following:

# cdrom: HL-DT-ST DVDRAM GSA-4160B
none /mnt/cdrom supermount dev=/dev/hda,user,exec,ro,--,iocharset=
iso8859-1,codepage=850,umask=0,nohide 0 0

# cdrom: LITE-ON COMBO SOHC-4832K
none /mnt/cdrom2 supermount dev=/dev/hdb,user,exec,ro,--,iocharset=
iso8859-1,codepage=850,umask=0,nohide 0 0

# /dev/sda1, size=8209152, type=1155: Journalised FS: ext3 (primary)
/dev/sda1 /mnt/sda1 ext3 user,exec,rw,noauto 0 0

# /dev/sda5, size=1622502, type=130: Linux swap (extended)
/dev/sda5 swap swap defaults 0 0

# /dev/sda6, size=146464542, type=1155: Journalised FS: ext3 (extended)
/dev/sda6 /mnt/sda6 ext3 user,exec,rw,noauto 0 0

/etc/fstab lines 76-96/96 (END)

What to do?
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

You will need to mount the partition manually.
2) Chroot to the root partition of the installation:
mount /mnt/hdax (whatever the mount point of the root partition)
mount -t devfs none /mnt/hdax/dev
mount -t proc none /mnt/hdax/proc
chroot /mnt/hdax
Or in this case /mnt/sda1 rather than /mnt/hda..
I have the livecd configured to not mount partitions by default. Notice the mount options in fstab include "noauto". So even if all hardware is properly detected and configured on bootup you would still need to mount a partition before accessing it. Just a safety precaution against someone accidently doing something they didn't intend while trying the livecd.

I look forward to hearing if you are able to rescue this installation this way. Thank you for pursuing this and reporting the results.

Best regards,
Ross
ekiboy69
Posts: 101
Joined: Tue Jun 22, 2004 9:26 pm
Location: Kaarina-Finland

Post by ekiboy69 »

rdmelin wrote: 4) lilo -v
umount /mnt/hdax/proc
umount /mnt/hdax/dev
exit

Ross
I reached step 4. When unmounting the proc directory I get the following error:

[/]# umount /mnt/sda1/proc
umount: /mnt/sda1/proc: not found

According to fstab they are not mounted. Should they be mounted at this stage? Or do you mean that these commands should not be given chrooted in /mnt/sda1 file system but rather exit first and umount the proc and dev file systems?



Here are the output from the previous actions:

[/]# mkinitrd -v -f --preload=ata_piix /boot/ini
initrd-2.6.7-2.tmb.3mdk.img initrd.img
[/]# mkinitrd -v -f --preload=ata_piix /boot/initrd-2.6.7-2.tmb.3mdk.img 2.6.7-2.tmb.3mdk
Looking for deps of module ata_piix
libata scsi_mod
Looking for deps of module libata
scsi_mod
Looking for deps of module scsi_mod
Looking for deps of module scsi_mod
Looking for deps of module ext3
jbd
Looking for deps of module jbd
Using modules: ./kernel/drivers/scsi/scsi_mod.ko ./kernel/drivers/scsi/libata.ko ./kernel/drivers/scsi/ata_piix.ko ./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko
Using /root/tmp as temporary directory.
/sbin/nash -> /root/tmp/initrd.ymozby/bin/nash
/sbin/insmod-25-DIET -> /root/tmp/initrd.ymozby/bin/insmod
/lib/modules/2.6.7-2.tmb.3mdk/./kernel/drivers/scsi/scsi_mod.ko.gz: 61.0%
copy from /root/tmp/initrd.ymozby/lib/scsi_mod.ko(elf32-i386) to /root/tmp/initrd.ymozby/lib/stC6e6OU(elf32-i386)
/lib/modules/2.6.7-2.tmb.3mdk/./kernel/drivers/scsi/libata.ko.gz: 56.7%
copy from /root/tmp/initrd.ymozby/lib/libata.ko(elf32-i386) to /root/tmp/initrd.ymozby/lib/stIH0huT(elf32-i386)
/lib/modules/2.6.7-2.tmb.3mdk/./kernel/drivers/scsi/ata_piix.ko.gz: 65.4%
copy from /root/tmp/initrd.ymozby/lib/ata_piix.ko(elf32-i386) to /root/tmp/initrd.ymozby/lib/staPYNdX(elf32-i386)
/lib/modules/2.6.7-2.tmb.3mdk/./kernel/fs/jbd/jbd.ko.gz: 60.7%
copy from /root/tmp/initrd.ymozby/lib/jbd.ko(elf32-i386) to /root/tmp/initrd.ymozby/lib/stItQgUV(elf32-i386)
/lib/modules/2.6.7-2.tmb.3mdk/./kernel/fs/ext3/ext3.ko.gz: 55.9%
copy from /root/tmp/initrd.ymozby/lib/ext3.ko(elf32-i386) to /root/tmp/initrd.ymozby/lib/st9DWWyZ(elf32-i386)
Loading module scsi_mod.ko
Loading module libata.ko
Loading module ata_piix.ko
Loading module jbd.ko
Loading module ext3.ko
Contents of RCFILE:
#!/bin/nash

echo "Loading scsi_mod.ko module"
insmod /lib/scsi_mod.ko
echo "Loading libata.ko module"
insmod /lib/libata.ko
echo "Loading ata_piix.ko module"
insmod /lib/ata_piix.ko
echo "Loading jbd.ko module"
insmod /lib/jbd.ko
echo "Loading ext3.ko module"
insmod /lib/ext3.ko
echo Mounting /proc filesystem
mount -t proc /proc /proc
echo Creating device files
mkdevices /dev
echo Mounting sysfs
mount -t sysfs none /sys
echo Creating root device
mkrootdev /dev/root
umount /sys
echo 0x0100 > /proc/sys/kernel/real-root-dev
echo Mounting root filesystem
mount -o defaults --ro -t ext3 /dev/root /sysroot
pivot_root /sysroot /sysroot/initrd
echo Remounting devfs at correct place if necessary
handledevfs
umount /initrd/proc
Creating filesystem with size 631KB and 152 inodes
[/]# lilo -v
LILO version 22.5.8, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2003 John Coffman
Released 10-Oct-2003, and compiled at 18:03:01 on Feb 19 2004

Reading boot sector from /dev/sda
Using GRAPHIC secondary loader
Calling map_insert_data
Mapping message file /boot/message -> message-graphic
Calling map_insert_file

Boot image: /boot/vmlinuz-2.6.7-2.tmb.3mdk
Mapping RAM disk /boot/initrd-2.6.7-2.tmb.3mdk.img
Added zoneminder *

Writing boot sector.
/boot/boot.0800 exists - no boot sector backup copy made.
[/]# umount /mnt/sda1/proc
umount: /mnt/sda1/proc: not found
[/]# umount /mnt/sda1/proc/
umount: /mnt/sda1/proc/: not found
[/]# umount /mnt/sda1/proc
umount: /mnt/sda1/proc: not found
[/]# less /etc/fstab
Post Reply