LFS Version 6.2 - 8.4. Making the LFS System Bootable

Mag. Leonhard Landrock 1977-Hamlet at gmx.at
Sun Aug 20 09:00:32 PDT 2006


Am Sonntag, 20. August 2006 16:40 schrieb S. Anthony Sequeira:
> On Sun, 2006-08-20 at 16:36 +0200, Mag. Leonhard Landrock wrote:
> > Am Sonntag, 20. August 2006 14:37 schrieb S. Anthony Sequeira:
> > > USB drives are supported by the SCSI drivers. Make sure you have the
> > > relevant SCSI options compiled into the kernel.
> >
> > These options are?
>
> This is what I have for kernel 2.6.14.5.  Note, I'm not saying that this
> is what *you* should have.
>
> I too have an external USB drive, but I use it purely for backups.  I
> have not attempted to boot from USB drive yet.
>
> $ grep SCSI /boot/comet-config.2.6.14.5 | grep -v 'is not set'

[...]

I'll took a try to get the most important out of my (Debian) kernel log. Maybe 
there is someone who finds anything.

Aug 20 17:23:11 veneto exiting on signal 15
Aug 20 17:26:51 veneto syslogd 1.4.1#18: restart.
Aug 20 17:26:51 veneto kernel: klogd 1.4.1#18, log source = /proc/kmsg 
started.
Aug 20 17:26:51 veneto kernel: VFS: Disk quotas dquot_6.5.1
Aug 20 17:26:51 veneto kernel: Dquot-cache hash table entries: 1024 (order 0, 
4096 bytes)
Aug 20 17:26:51 veneto kernel: RAMDISK driver initialized: 16 RAM disks of 
8192K size 1024 blocksize
Aug 20 17:26:51 veneto kernel: HUB0 HUB1 USB0 USB1 USB2 F139 MMAC MMCI UAR1
Aug 20 17:26:51 veneto kernel: SCSI subsystem initialized
Aug 20 17:26:51 veneto kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA 
DRIVER, Rev 7.0
Aug 20 17:26:51 veneto kernel:         <Adaptec 29160N Ultra160 SCSI adapter>
Aug 20 17:26:51 veneto kernel:         aic7892: Ultra160 Wide Channel A, SCSI 
Id=7, 32/253 SCBs
Aug 20 17:26:51 veneto kernel:
Aug 20 17:26:51 veneto kernel: input: AT Translated Set 2 keyboard 
as /class/input/input0
Aug 20 17:26:51 veneto kernel:   Vendor: SEAGATE   Model: ST373307LW        
Rev: 0007
Aug 20 17:26:51 veneto kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 03
Aug 20 17:26:51 veneto kernel: scsi0:A:0:0: Tagged Queuing enabled.  Depth 8
Aug 20 17:26:51 veneto kernel:  target0:0:0: Beginning Domain Validation
Aug 20 17:26:51 veneto kernel:  target0:0:0: wide asynchronous.
Aug 20 17:26:51 veneto kernel:  target0:0:0: FAST-80 WIDE SCSI 160.0 MB/s DT 
(12.5 ns, offset 63)
Aug 20 17:26:51 veneto kernel:  target0:0:0: Ending Domain Validation
Aug 20 17:26:51 veneto kernel:   Vendor: PIONEER   Model: DVD-ROM DVD-305   
Rev: 1.06
Aug 20 17:26:51 veneto kernel:   Type:   CD-ROM                             
ANSI SCSI revision: 02
Aug 20 17:26:51 veneto kernel:  target0:0:6: Beginning Domain Validation
Aug 20 17:26:51 veneto kernel:  target0:0:6: FAST-20 SCSI 20.0 MB/s ST (50 ns, 
offset 16)
Aug 20 17:26:51 veneto kernel:  target0:0:6: Domain Validation skipping write 
tests
Aug 20 17:26:51 veneto kernel:  target0:0:6: Ending Domain Validation
Aug 20 17:26:51 veneto kernel: SCSI device sda: 143374744 512-byte hdwr 
sectors (73408 MB)
Aug 20 17:26:51 veneto kernel: SCSI device sda: drive cache: write back
Aug 20 17:26:51 veneto kernel: SCSI device sda: 143374744 512-byte hdwr 
sectors (73408 MB)
Aug 20 17:26:51 veneto kernel: SCSI device sda: drive cache: write back
Aug 20 17:26:51 veneto kernel:  sda: sda1 sda2 sda3
Aug 20 17:26:51 veneto kernel: sd 0:0:0:0: Attached scsi disk sda
Aug 20 17:26:51 veneto kernel: ohci1394: $Rev: 1313 $ Ben Collins 
<bcollins at debian.org>
Aug 20 17:26:51 veneto kernel: ohci1394: fw-host0: OHCI-1394 1.1 (PCI): 
IRQ=[185]  MMIO=[b9084000-b90847ff]  Max Packet=[2048]
Aug 20 17:26:51 veneto kernel: usbcore: registered new driver usbfs
Aug 20 17:26:51 veneto kernel: usbcore: registered new driver hub
Aug 20 17:26:51 veneto kernel: ohci_hcd 0000:00:02.0: OHCI Host Controller
Aug 20 17:26:51 veneto kernel: ohci_hcd 0000:00:02.0: new USB bus registered, 
assigned bus number 1
Aug 20 17:26:51 veneto kernel: ohci_hcd 0000:00:02.0: irq 193, io mem 
0xb9086000
Aug 20 17:26:51 veneto kernel: hub 1-0:1.0: USB hub found
Aug 20 17:26:51 veneto kernel: hub 1-0:1.0: 3 ports detected
Aug 20 17:26:51 veneto kernel: ohci_hcd 0000:00:02.1: OHCI Host Controller
Aug 20 17:26:51 veneto kernel: ohci_hcd 0000:00:02.1: new USB bus registered, 
assigned bus number 2
Aug 20 17:26:51 veneto kernel: ohci_hcd 0000:00:02.1: irq 201, io mem 
0xb9081000
Aug 20 17:26:51 veneto kernel: hub 2-0:1.0: USB hub found
Aug 20 17:26:51 veneto kernel: hub 2-0:1.0: 3 ports detected
Aug 20 17:26:51 veneto kernel: ata1: SATA max UDMA/100 cmd 0xF8AB2080 ctl 
0xF8AB208A bmdma 0xF8AB2000 irq 209
Aug 20 17:26:51 veneto kernel: ata2: SATA max UDMA/100 cmd 0xF8AB20C0 ctl 
0xF8AB20CA bmdma 0xF8AB2008 irq 209
Aug 20 17:26:51 veneto kernel: ata1: no device found (phy stat 00000000)
Aug 20 17:26:51 veneto kernel: scsi1 : sata_sil
Aug 20 17:26:51 veneto kernel: saa7115 2-0021: saa7115 found @ 0x42 (ivtv i2c 
driver #0)
Aug 20 17:26:51 veneto kernel: ivtv0: i2c attach to card #0 ok 
[client=saa7115, addr=21]
Aug 20 17:26:51 veneto kernel: ata2: no device found (phy stat 00000000)
Aug 20 17:26:51 veneto kernel: scsi2 : sata_sil
Aug 20 17:26:51 veneto kernel: saa7127 2-0044: saa7127 found @ 0x88 (ivtv i2c 
driver #0)
Aug 20 17:26:51 veneto kernel: ehci_hcd 0000:00:02.2: EHCI Host Controller
Aug 20 17:26:51 veneto kernel: ehci_hcd 0000:00:02.2: debug port 1
Aug 20 17:26:51 veneto kernel: ehci_hcd 0000:00:02.2: new USB bus registered, 
assigned bus number 3
Aug 20 17:26:51 veneto kernel: ehci_hcd 0000:00:02.2: irq 193, io mem 
0xb9082000
Aug 20 17:26:51 veneto kernel: ehci_hcd 0000:00:02.2: USB 2.0 started, EHCI 
1.00, driver 10 Dec 2004
Aug 20 17:26:51 veneto kernel: hub 3-0:1.0: USB hub found
Aug 20 17:26:51 veneto kernel: hub 3-0:1.0: 6 ports detected
Aug 20 17:26:51 veneto kernel: Uniform Multi-Platform E-IDE driver Revision: 
7.00alpha2
Aug 20 17:26:51 veneto kernel: ide: Assuming 33MHz system bus speed for PIO 
modes; override with idebus=xx
Aug 20 17:26:51 veneto kernel: Linux agpgart interface v0.101 (c) Dave Jones
Aug 20 17:26:51 veneto kernel: usb 3-2: new high speed USB device using 
ehci_hcd and address 2
Aug 20 17:26:51 veneto kernel: hub 3-2:1.0: USB hub found
Aug 20 17:26:51 veneto kernel: hub 3-2:1.0: 7 ports detected
Aug 20 17:26:51 veneto kernel: sr0: scsi3-mmc drive: 16x/40x cd/rw xa/form2 
cdda tray
Aug 20 17:26:51 veneto kernel: Uniform CD-ROM driver Revision: 3.20
Aug 20 17:26:51 veneto kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Aug 20 17:26:51 veneto kernel: sr 0:0:6:0: Attached scsi generic sg1 type 5
Aug 20 17:26:51 veneto kernel: usb 3-2.1: new high speed USB device using 
ehci_hcd and address 3
Aug 20 17:26:51 veneto kernel: usb 3-2.2: new low speed USB device using 
ehci_hcd and address 4
Aug 20 17:26:51 veneto kernel: usbcore: registered new driver hiddev
Aug 20 17:26:51 veneto kernel: input: HID 1241:1177 as /class/input/input2
Aug 20 17:26:51 veneto kernel: input: USB HID v1.10 Mouse [HID 1241:1177] on 
usb-0000:00:02.2-2.2
Aug 20 17:26:51 veneto kernel: usbcore: registered new driver usbhid
Aug 20 17:26:51 veneto kernel: drivers/usb/input/hid-core.c: v2.6:USB HID core 
driver
Aug 20 17:26:51 veneto kernel: Initializing USB Mass Storage driver...
Aug 20 17:26:51 veneto kernel: scsi3 : SCSI emulation for USB Mass Storage 
devices
Aug 20 17:26:51 veneto kernel: usbcore: registered new driver usb-storage
Aug 20 17:26:51 veneto kernel: USB Mass Storage support registered.
Aug 20 17:26:51 veneto kernel: Adding 3638712k swap on /dev/sda3.  Priority:-1 
extents:1 across:3638712k
Aug 20 17:26:51 veneto kernel:   Vendor: WDC WD25  Model: 00LB-00EDA0       
Rev: 15.0
Aug 20 17:26:51 veneto kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 00
Aug 20 17:26:51 veneto kernel: SCSI device sdb: 488397168 512-byte hdwr 
sectors (250059 MB)
Aug 20 17:26:51 veneto kernel: SCSI device sdb: 488397168 512-byte hdwr 
sectors (250059 MB)
Aug 20 17:26:51 veneto kernel:  sdb: sdb1 sdb2 sdb3
Aug 20 17:26:51 veneto kernel: sd 3:0:0:0: Attached scsi disk sdb
Aug 20 17:26:51 veneto kernel: sd 3:0:0:0: Attached scsi generic sg2 type 0
Aug 20 17:26:51 veneto kernel: sbp2: $Rev: 1306 $ Ben Collins 
<bcollins at debian.org>
Aug 20 17:26:51 veneto kernel: ieee1394: sbp2: Driver forced to serialize I/O 
(serialize_io=1)
Aug 20 17:26:51 veneto kernel: ieee1394: sbp2: Try serialize_io=0 for better 
performance
Aug 20 17:26:51 veneto kernel: device-mapper: 4.4.0-ioctl (2005-01-12) 
initialised: dm-devel at redhat.com

Now the above could be compared with the LFS kernel:

root:/# grep SCSI /boot/config-2.6.16.27 | grep -v "is not set"
CONFIG_BLK_DEV_IDESCSI=y
# SCSI device support
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
# SCSI support type (disk, tape, CD-ROM)
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
# SCSI Transport Attributes
CONFIG_SCSI_SPI_ATTRS=y
# SCSI low-level drivers
CONFIG_SCSI_AIC7XXX=y
CONFIG_SCSI_SATA=y
CONFIG_SCSI_ATA_PIIX=y
CONFIG_SCSI_SATA_SX4=m
CONFIG_SCSI_SATA_SIL=m
CONFIG_SCSI_SATA_SIL24=m
CONFIG_SCSI_SATA_SIS=m
CONFIG_SCSI_SATA_INTEL_COMBINED=y
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'


root:/# grep USB /boot/config-2.6.16.27 | grep -v "is not set"
# USB devices
CONFIG_SND_USB_AUDIO=m
# USB support
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y
CONFIG_USB_DEBUG=y
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y
# USB Device Class drivers
CONFIG_USB_PRINTER=y
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
# may also be needed; see USB_STORAGE Help for more information
CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y
# USB Input Devices
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_EGALAX=m
# USB Imaging devices
# USB Multimedia devices
# USB Network Adapters
CONFIG_USB_MON=y
# USB port drivers
# USB Serial Converter support
# USB Miscellaneous drivers
CONFIG_USB_CYTHERM=m
CONFIG_USB_PHIDGETSERVO=m
# USB DSL modem support
# USB Gadget Support


So far I have no idea what there still might be missing in my LFS kernel. :-(

> S. Anthony Sequeira

Leonhard.



More information about the lfs-support mailing list