LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernel support SATA Maxtor 80Gb Y6080M0 (https://www.linuxquestions.org/questions/slackware-14/kernel-support-sata-maxtor-80gb-y6080m0-308589/)

richikiki 04-01-2005 08:28 AM

Kernel support SATA Maxtor 80Gb Y6080M0
 
Hi community ,

I have this problem trying to compiling my kernel 2.4.29 I miss some configurations to support my SATA Maxtor 80Gb Y6080M0. Someone know the right options to have support.

Error message follow:

VFS: Cannot open root device "806" or 08:06
Please append a correct "root=" boot option

Thanks in advance.

amwink 04-01-2005 09:24 AM

It has probably nothing with your Maxtor disk, but with your controller. Try to discover which is your SATA controller (if it is onboard, check your motherboard manual, or the manufacturer's website). Probably there's a way to discover the brand from inside Linux, but I don't know how.

The SATA drivers are inside "SCSI support". You have to enable the drivers that match your controller.

amwink

richikiki 04-01-2005 11:56 PM

Well Im using the kernel 2.4.29 with Slack 10.1, when I use the kernel: sata.i I got this:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
y cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: After generic, caps: bfebfbff 00100000 00000000 00000000
CPU: Common caps: bfebfbff 00100000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router PIIX/ICH [8086/24d0] at 00:1f.0
PCI: Found IRQ 3 for device 00:1f.1
PCI: Sharing IRQ 3 with 00:1d.2
PCI: Sharing IRQ 3 with 00:1f.2
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10f
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH5: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
PCI: Found IRQ 3 for device 00:1f.1
PCI: Sharing IRQ 3 with 00:1d.2
PCI: Sharing IRQ 3 with 00:1f.2
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
hda: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-cdrom driver.
hda: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
libata version 1.10 loaded.
ata_piix version 1.03
PCI: Found IRQ 3 for device 00:1f.2
PCI: Sharing IRQ 3 with 00:1d.2
PCI: Sharing IRQ 3 with 00:1f.1
PCI: Setting latency timer of device 00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xBC00 ctl 0xB882 bmdma 0xB400 irq 3
ata2: SATA max UDMA/133 cmd 0xB800 ctl 0xB482 bmdma 0xB408 irq 3

Partition check:
sda: sda1 sda2 sda3 < sda5 sda6 >
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 3293.600 MB/sec
32regs : 2208.800 MB/sec
pIII_sse : 5191.600 MB/sec
pII_mmx : 3245.600 MB/sec
p5_mmx : 3256.000 MB/sec
raid5: using function: pIII_sse (5191.600 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 979924k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,6), internal journal
scsi2 : SCSI host adapter emulation for IDE ATAPI devices
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
i810_rng: cannot disable RNG, aborting
i810_rng hardware driver 0.9.8 loaded
hw_random hardware driver 1.0.0 loaded
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 5 for device 00:1d.7
PCI: Setting latency timer of device 00:1d.7 to 64
ehci_hcd 00:1d.7: Intel Corp. 82801EB USB2
ehci_hcd 00:1d.7: irq 5, pci mem e08a9c00
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:1d.7: enabled 64bit PCI DMA
PCI: cache line size of 128 is not supported by device 00:1d.7
ehci_hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 8 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 11 for device 00:1d.0
PCI: Sharing IRQ 11 with 00:1d.3
PCI: Setting latency timer of device 00:1d.0 to 64
uhci.c: USB UHCI at I/O 0xc480, IRQ 11
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:1d.1
PCI: Setting latency timer of device 00:1d.1 to 64
uhci.c: USB UHCI at I/O 0xc800, IRQ 11
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 3 for device 00:1d.2
PCI: Sharing IRQ 3 with 00:1f.1
PCI: Sharing IRQ 3 with 00:1f.2
PCI: Setting latency timer of device 00:1d.2 to 64
uhci.c: USB UHCI at I/O 0xc880, IRQ 3
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:1d.3
PCI: Sharing IRQ 11 with 00:1d.0
PCI: Setting latency timer of device 00:1d.3 to 64
uhci.c: USB UHCI at I/O 0xcc00, IRQ 11
usb.c: new USB bus registered, assigned bus number 5
hub.c: USB hub found
hub.c: 2 ports detected
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Now Im recompiling my kernel 2.4.29 but Im missing some configurations.
My Mother board is a ASUS P5P800.

Any Idea guys.

syg00 04-02-2005 12:13 AM

I suspect you are wasting your time. If you are using sata.i, your listing shows;
Quote:

Partition check:
sda: sda1 sda2 sda3 < sda5 sda6 >
Certainly looks like the disk has been found to me - in fact both the on-board controllers are found.

Check your grub.conf (damn, Slack forum - make that lilo) the root will need to be /dev/sda? - not /dev/hda?

amwink 04-02-2005 04:43 AM

You can find the manual for your MB here: http://www.asus.com/support/download...5P800&Type=All

It says that you have an Intel ICH5 chipset. I think you have to enable "Intel PIIX/ICH SATA Support" under "SCSI low-level drivers", which is under "SCSI support".

Anyway here is the output of diff when comparing the config files of bare.i and sata.i:

Code:

amwink@schwarz:~> diff /mnt/cdrom/kernels/bare.i/config /mnt/cdrom/kernels/sata.i/config
504c504
< CONFIG_BLK_DEV_SIIMAGE=y
---
> # CONFIG_BLK_DEV_SIIMAGE is not set
593,603c593,603
< CONFIG_SCSI_SATA_AHCI=m
< CONFIG_SCSI_SATA_SVW=m
< CONFIG_SCSI_ATA_PIIX=m
< CONFIG_SCSI_SATA_NV=m
< CONFIG_SCSI_SATA_PROMISE=m
< CONFIG_SCSI_SATA_SX4=m
< CONFIG_SCSI_SATA_SIL=m
< CONFIG_SCSI_SATA_SIS=m
< CONFIG_SCSI_SATA_ULI=m
< CONFIG_SCSI_SATA_VIA=m
< CONFIG_SCSI_SATA_VITESSE=m
---
> CONFIG_SCSI_SATA_AHCI=y
> CONFIG_SCSI_SATA_SVW=y
> CONFIG_SCSI_ATA_PIIX=y
> CONFIG_SCSI_SATA_NV=y
> CONFIG_SCSI_SATA_PROMISE=y
> CONFIG_SCSI_SATA_SX4=y
> CONFIG_SCSI_SATA_SIL=y
> CONFIG_SCSI_SATA_SIS=y
> CONFIG_SCSI_SATA_ULI=y
> CONFIG_SCSI_SATA_VIA=y
> CONFIG_SCSI_SATA_VITESSE=y

You can use it to guide you when choosing what to put in your new kernel. Your driver is probably the CONFIG_SCSI_ATA_PIIX.

And, as syg00 said, SATA disks are listed as /dev/sd?, not /dev/hd?. You have to adjust your lilo.conf.

Good luck!

amwink

richikiki 04-02-2005 09:21 PM

Well guys,

I dont well, but I try to use the config file of sata.i and I just add my specific hardware, but i get several errors, at the end I just add the modules to my new kernel and now is working well.

I want to compile well the kernel and have just what I need in it, is good to have a embedded system.

now I get another problem with my mouse, and this is another issue to have well working my system.
[COLOR=blue]
Thanks for your help :D
[COLOR=red]
Problem resolved


All times are GMT -5. The time now is 05:08 PM.