Re: knoppix 3.4 kernel 2.6.6 [LONG]
Marco Amadori <elessar-2/[email protected]> Wed, 26 May 2004 04:12:03 +0200
| Newsgroups | gmane.linux.debian.knoppix |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alle 00:17, mercoledì 26 maggio 2004, Klaus Knopper ha scritto: > Uhm... The 2.6.6 kernel on Knoppix is equipped WITH serial ata support, > to the best of my knowledge. Are you asking how to turn it off? Not for sure! :-) > > If Klaus Knopper is hearing, please include modules from /scsi -> > > low-level-drivers > serial ata in the next release > Am I missing something? I thought this is the default. I really don't know then how to use my hardware on this particular version of knoppix I've downloaded from a bittorrent link found on www.knoppix.org. I just put in the cd-rom md5sum checked and go with "knoppix26 lang=it" at boot prompt, then I ran a few test, then saved on /dev/sda, my usb-stick, which would be seen as /dev/sdc, 'cause of two sata drives if sata is properly* recognized. First from my working previously installed debian dmesg about my sata config: libata version 1.02 loaded. ata1: SATA max UDMA/133 cmd 0xD800 ctl 0xD402 bmdma 0xC800 irq 5 ata2: SATA max UDMA/133 cmd 0xD000 ctl 0xCC02 bmdma 0xC808 irq 5 ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4003 85:7c69 86:3e01 87:4003 88:407f ata1: dev 0 ATA, max UDMA/133, 320173056 sectors (lba48) ata1: dev 0 configured for UDMA/133 scsi0 : sata_sis ata2: dev 0 cfg 49:2f00 82:346b 83:7f01 84:4003 85:3c68 86:3c01 87:4003 88:00ff ata2: dev 0 ATA, max UDMA7, 312581808 sectors (lba48) ata2: dev 0 configured for UDMA/133 scsi1 : sata_sis Vendor: ATA Model: Maxtor 6Y160M0 Rev: 1.02 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: SAMSUNG SP1614C Rev: 1.02 Type: Direct-Access ANSI SCSI revision: 05 SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB) SCSI device sda: drive cache: write through sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 > Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB) SCSI device sdb: drive cache: write through sdb: sdb1 sdb2 < sdb5 sdb6 sdb7 sdb8 sdb9 > Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0 tremendo:/etc/apt# scsiinfo -i /dev/sda | tail - 4 Vendor: ATA Product: Maxtor 6Y160M0 Revision level: 1.02 then the test on running knoppix3.4 (17-05-2004) after kde bootup (no other problems but disk, fine work !): [email protected]:/~$ cat /mnt/usb-mem/test # created on 2004-05-26 01:04 [email protected][knoppix]# modprobe sata-sis FATAL: Module sata_sis not found. [email protected][knoppix]# lsmod Module Size Used by snd_mixer_oss 19072 0 snd 49540 1 snd_mixer_oss via_agp 9856 0 sworks_agp 11424 0 sis_agp 9472 1 nvidia_agp 10012 0 intel_mch_agp 12044 0 intel_agp 18968 0 efficeon_agp 10496 0 ati_agp 10636 0 amd_k7_agp 10124 0 amd64_agp 12872 0 ali_agp 9600 0 agpgart 31564 11 via_agp,sworks_agp,sis_agp,nvidia_agp,intel_mch_agp,intel_agp,efficeon_agp,ati_agp,amd_k7_agp,amd64_agp,ali_agp autofs 19456 1 af_packet 21124 0 emu10k1 86276 1 sound 80232 1 emu10k1 soundcore 12000 4 snd,emu10k1,sound ac97_codec 19840 1 emu10k1 sis900 21124 0 crc32 8448 1 sis900 emu10k1_gp 7040 0 gameport 8192 1 emu10k1_gp parport_pc 38176 0 parport 38848 1 parport_pc 8250 34448 0 serial_core 22912 1 8250 ds 17920 0 yenta_socket 20736 0 pcmcia_core 58240 2 ds,yenta_socket thermal 14992 0 processor 20672 1 thermal fan 7564 0 button 9496 0 battery 12428 0 ac 8076 0 rtc 15432 0 cloop 15456 1 ohci1394 33792 0 ieee1394 305296 1 ohci1394 usb_storage 66816 0 ohci_hcd 20864 0 uhci_hcd 31112 0 usbcore 94420 5 usb_storage,ohci_hcd,uhci_hcd ide_cd 40576 0 ide_scsi 17540 2 [email protected][knoppix]# uname -a Linux Knoppix 2.6.6 #2 SMP Fri May 14 20:38:30 CEST 2004 i686 GNU/Linux [email protected][knoppix]# lspci 0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 746 Host (rev 10) 0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202 0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36) 0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01) 0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) 0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) 0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) 0000:00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller 0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90) 0000:00:05.0 RAID bus controller: Silicon Integrated Systems [SiS]: Unknown device 0180 (rev 01) 0000:00:0b.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03) 0000:00:0b.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03) 0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0326 (rev a1) [email protected][knoppix]# cat /etc/fstab /proc /proc proc defaults 0 0 /sys /sys sysfs noauto 0 0 /dev/pts /dev/pts devpts mode=0622 0 0 /dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0 /dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0 # Added by KNOPPIX noauto,users,exec 0 0 [email protected][knoppix]# scsi_info /dev/sda SCSI_ID="0,0,0" HOST="2" MODEL="SanDisk Cruzer Mini" FW_REV="0.1" [email protected][knoppix]# cat /boot/config-2.6.6 | grep -i sata # CONFIG_SCSI_SATA is not set [email protected][knoppix]# ll /boot/config-2.6.6 - -rw-r--r-- 1 root root 53510 2004-05-14 20:37 /boot/config-2.6.6 [email protected][knoppix]# cat /cdrom/KNOPPIX/knoppix-version 3.4 2004-05-17 [email protected][knoppix]# cat /cdrom/KNOPPIX/md5sums | grep version d5efb64db80e40c1cc8e88781ee070c0 *KNOPPIX/knoppix-version [email protected][knoppix]# find /lib/modules/ -iname "*sata*" -print [email protected][knoppix]# Maybe I missed something really important, but I cannot see serial-ata support in this knoppix version, or just no support that I can handle. Any hints? (I'm trying in fact to remaster this one with serial-ata support, but I miss something on mkinitrd creation, lots of .o in lkm of minirt26.gz from /cdrom/boot/isolinux when I was used to see .ko for kernels 2.6... Can I look at your scripts for making the knoppix kernels and initrds?, please?) *properly: In my bios I cannot chose "emulation", "Sata-first" or similar, but just "enabled" or "disabled" for serial ata setting. With the same disks on my previous motherboards (both with sata-via chipets, differently from the current mb) they (emulation) apperead under /dev/hde and /dev/hdg, respectively. - -- Marco Amadori <elessar-2/[email protected]> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAs/z2Q8Nx9BqyEXoRAutsAJsGwJ7L/UxftqDivxS4dYwlAFSvTwCgvhUA gM4e1vtmZ8E9N6JeC3lX0VI= =PxD8 -----END PGP SIGNATURE-----