Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi - Debian

This is a discussion on Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi - Debian ; On Tuesday 27 September 2005 20:35, marc wrote: > # /sbin/init: 432: cannot open dev/console: No such file > # Kernel panic - not syncing: Attempting to kill init! This can mean 2 things: - the drivers needed for your ...

+ Reply to Thread
Results 1 to 13 of 13

Thread: Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

  1. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    On Tuesday 27 September 2005 20:35, marc wrote:
    > # /sbin/init: 432: cannot open dev/console: No such file
    > # Kernel panic - not syncing: Attempting to kill init!


    This can mean 2 things:
    - the drivers needed for your disk controller are not available; if your
    laptop has SATA, this is pretty likely for 2.6.8 and less so for 2.6.12
    - your bootloader config and /etc/fstab refer to /dev/hda (for the 2.4
    kernel), but the SATA driver in the 2.6 kernel uses /dev/sda

    You can check this by carefully reading the messages on console during
    boot (use shift-pageup to scroll back up).

    Cheers,
    FJP

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.1 (GNU/Linux)

    iD8DBQBDOZaggm/Kwh6ICoQRAhNjAKDHvjM9eP21YHgsCUHGOccD9YPCBQCdF51l
    Xz+37JBGGb4iZx0+CN7PBlM=
    =Jk/n
    -----END PGP SIGNATURE-----


  2. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    On Tue, 2005-09-27 at 20:59 +0200, Frans Pop wrote:
    > This can mean 2 things:
    > - the drivers needed for your disk controller are not available; if your
    > laptop has SATA, this is pretty likely for 2.6.8 and less so for 2.6.12
    > - your bootloader config and /etc/fstab refer to /dev/hda (for the 2.4
    > kernel), but the SATA driver in the 2.6 kernel uses /dev/sda


    Additionally, it seems that there are problems with the SATA driver.
    Look at http://www.copestake.org/4651lmi.html and
    http://forums.gentoo.org/viewtopic-t...ighlight-.html. Maybe it's
    Gentoo specific, maybe not, but it might be worth a try. You'll have to
    disable CONFIG_IDE, enable CONFIG_SCSI_ATA_PIIX and build your own
    kernel, though. But given that the laptop is new and you're just
    installing the system, I that you've got nothing to loose...

    Koen


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    Frans Pop said...
    > On Tuesday 27 September 2005 20:35, marc wrote:
    > > # /sbin/init: 432: cannot open dev/console: No such file
    > > # Kernel panic - not syncing: Attempting to kill init!

    >
    > This can mean 2 things:
    > - the drivers needed for your disk controller are not available; if your
    > laptop has SATA, this is pretty likely for 2.6.8 and less so for 2.6.12
    > - your bootloader config and /etc/fstab refer to /dev/hda (for the 2.4
    > kernel), but the SATA driver in the 2.6 kernel uses /dev/sda


    I don't know whether it has SATA, to be honest. I've attached the boot
    log from the Knoppix boot - which uses 2.6.12. SATA is mentioned once in
    there, but, not being an expert in such thing, I'm not sure what that
    means.

    In Knoppix, the hard disk partitions mound as /hdc1, 2, 3 and 6. I tried
    Knoppix on a machine with SATA and EIDE hard disks, and the SATA HDs
    mounted as /sda and /sdb. If that helps :-o

    However, I'm encouraged by the fact that Knoppix loads, albeit without
    ACPI at the moment.

    > You can check this by carefully reading the messages on console during=20
    > boot (use shift-pageup to scroll back up).


    No can I'm afraid, as the machine locks at the Kernel Panic.

    BTW, I am documenting this - optimistic of success - for later
    publication of the solution.

    --
    Best,
    Marc


    Linux version 2.6.12 (root@Knoppix) (gcc-Version 3.3.6 (Debian 1:3.3.6-
    7)) #2 SMP Tue Aug 9 23:20:52 CEST 2005
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
    BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 000000001ffdf000 (usable)
    BIOS-e820: 000000001ffe0000 - 000000001fffffc0 (ACPI data)
    BIOS-e820: 000000001fffffc0 - 0000000020000000 (ACPI NVS)
    BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
    0MB HIGHMEM available.
    511MB LOWMEM available.
    On node 0 totalpages: 131039
    DMA zone: 4096 pages, LIFO batch:1
    Normal zone: 126943 pages, LIFO batch:31
    HighMem zone: 0 pages, LIFO batch:1
    DMI 2.3 present.
    Allocating PCI resources starting at 20000000 (gap: 20000000:dff00000)
    Built 1 zonelists
    Kernel command line: ramdisk_size=100000 init=/etc/init lang=us
    apm=power-off vga=791 initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix
    BOOT_IMAGE=linux acpi=off lang=uk screen=1400x1050
    Found and enabled local APIC!
    mapped APIC to ffffd000 (fee00000)
    Initializing CPU#0
    PID hash table entries: 2048 (order: 11, 32768 bytes)
    Detected 1596.439 MHz processor.
    Using tsc for high-res timesource
    Console: colour dummy device 80x25
    Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Memory: 513112k/524156k available (1882k kernel code, 10268k reserved,
    999k data, 296k init, 0k highmem)
    Checking if this processor honours the WP bit even in supervisor mode...
    Ok.
    Calibrating delay loop... 3137.53 BogoMIPS (lpj=1568768)
    Security Framework v1.0.0 initialized
    SELinux: Disabled at boot.
    Mount-cache hash table entries: 512
    CPU: After generic identify, caps: afe9fbff 00100000 00000000 00000000
    00000180 00000000 00000000
    CPU: After vendor identify, caps: afe9fbff 00100000 00000000 00000000
    00000180 00000000 00000000
    CPU: L1 I cache: 32K, L1 D cache: 32K
    CPU: L2 cache: 2048K
    CPU: After all inits, caps: afe9fbff 00100000 00000000 00000040 00000180
    00000000 00000000
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Checking 'hlt' instruction... OK.
    Checking for popad bug... OK.
    CPU0: Intel(R) Pentium(R) M processor 1.60GHz stepping 08
    SMP motherboard not detected.
    Brought up 1 CPUs
    CPU0 attaching sched-domain:
    domain 0: span 00000001
    groups: 00000001
    checking if image is initramfs...it isn't (no cpio magic); looks like an
    initrd
    Freeing initrd memory: 858k freed
    NET: Registered protocol family 16
    EISA bus registered
    PCI: PCI BIOS revision 2.10 entry at 0xea814, last bus=6
    PCI: Using configuration type 1
    mtrr: v2.0 (20020519)
    ACPI: Subsystem revision 20050309
    ACPI: Interpreter disabled.
    Linux Plug and Play Support v0.97 (c) Adam Belay
    pnp: PnP ACPI: disabled
    PnPBIOS: Scanning system for PnP BIOS support...
    PnPBIOS: Found PnP BIOS installation structure at 0xc00ff020
    PnPBIOS: PnP BIOS version 1.0, entry 0xeb000:0x3576, dseg 0xeb000
    PNPBIOS fault.. attempting recovery.
    PnPBIOS: Warning! Your PnP BIOS caused a fatal error. Attempting to
    continue
    PnPBIOS: You may need to reboot with the "pnpbios=off" option to operate
    stably
    PnPBIOS: Check with your vendor for an updated BIOS
    PnPBIOS: dev_node_info: unexpected status 0x2b
    PnPBIOS: Unable to get node info. Aborting.
    SCSI subsystem initialized
    PCI: Probing PCI hardware
    PCI: Probing PCI hardware (bus 00)
    PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.2
    Boot video device is 0000:01:00.0
    PCI: Transparent bridge - 0000:00:1e.0
    PCI: Discovered primary peer bus 04 [IRQ]
    PCI: Discovered primary peer bus 05 [IRQ]
    PCI: Using IRQ router PIIX/ICH [8086/2641] at 0000:00:1f.0
    PCI: IRQ 0 for device 0000:00:01.0 doesn't match PIRQ mask - try
    pci=usepirqmask
    PCI: Found IRQ 11 for device 0000:00:01.0
    PCI: Sharing IRQ 11 with 0000:00:1c.0
    PCI: Sharing IRQ 11 with 0000:00:1d.3
    PCI: Sharing IRQ 11 with 0000:01:00.0
    PCI: Sharing IRQ 11 with 0000:06:04.0
    PCI: IRQ 0 for device 0000:00:1c.1 doesn't match PIRQ mask - try
    pci=usepirqmask
    PCI: Found IRQ 5 for device 0000:00:1c.1
    PCI: Sharing IRQ 5 with 0000:00:1e.2
    PCI: Sharing IRQ 5 with 0000:06:04.1
    PCI: Sharing IRQ 5 with 0000:06:04.2
    PCI: Sharing IRQ 5 with 0000:06:04.3
    PCI: Sharing IRQ 5 with 0000:06:04.4
    PCI: IRQ 0 for device 0000:00:1f.2 doesn't match PIRQ mask - try
    pci=usepirqmask
    PCI: Found IRQ 11 for device 0000:00:1f.2
    PCI: Sharing IRQ 11 with 0000:00:1d.1
    PCI: Sharing IRQ 11 with 0000:00:1f.3
    PCI: Cannot allocate resource region 3 of device 0000:01:00.0
    audit: initializing netlink socket (disabled)
    audit(1127859339.035:0): initialized
    Total HugeTLB memory allocated, 0
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Initializing Cryptographic API
    PCI: Found IRQ 11 for device 0000:00:01.0
    PCI: Sharing IRQ 11 with 0000:00:1c.0
    PCI: Sharing IRQ 11 with 0000:00:1d.3
    PCI: Sharing IRQ 11 with 0000:01:00.0
    PCI: Sharing IRQ 11 with 0000:06:04.0
    PCI: Setting latency timer of device 0000:00:01.0 to 64
    assign_interrupt_mode Found MSI capability
    Allocate Port Service[pcie00]
    PCI: Found IRQ 11 for device 0000:00:1c.0
    PCI: Sharing IRQ 11 with 0000:00:01.0
    PCI: Sharing IRQ 11 with 0000:00:1d.3
    PCI: Sharing IRQ 11 with 0000:01:00.0
    PCI: Sharing IRQ 11 with 0000:06:04.0
    PCI: Setting latency timer of device 0000:00:1c.0 to 64
    assign_interrupt_mode Found MSI capability
    Allocate Port Service[pcie00]
    Allocate Port Service[pcie02]
    PCI: IRQ 5 for device 0000:00:1c.1 doesn't match PIRQ mask - try
    pci=usepirqmask
    PCI: Found IRQ 5 for device 0000:00:1c.1
    PCI: Sharing IRQ 5 with 0000:00:1e.2
    PCI: Sharing IRQ 5 with 0000:06:04.1
    PCI: Sharing IRQ 5 with 0000:06:04.2
    PCI: Sharing IRQ 5 with 0000:06:04.3
    PCI: Sharing IRQ 5 with 0000:06:04.4
    PCI: Setting latency timer of device 0000:00:1c.1 to 64
    assign_interrupt_mode Found MSI capability
    Allocate Port Service[pcie00]
    Allocate Port Service[pcie02]
    vesafb: framebuffer at 0x90000000, mapped to 0xe0880000, using 3072k,
    total 65536k
    vesafb: mode is 1024x768x16, linelength=2048, pages=1
    vesafb: protected mode interface info at c000:d8d0
    vesafb: scrolling: redraw
    vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
    Console: switching to colour frame buffer device 128x48
    fb0: VESA VGA frame buffer device
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    PNP: No PS/2 controller found. Probing ports directly.
    i8042.c: Detected active multiplexing controller, rev 1.1.
    serio: i8042 AUX0 port at 0x60,0x64 irq 12
    serio: i8042 AUX1 port at 0x60,0x64 irq 12
    serio: i8042 AUX2 port at 0x60,0x64 irq 12
    serio: i8042 AUX3 port at 0x60,0x64 irq 12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered
    Floppy drive(s): fd0 is 1.44M
    floppy0: no floppy controllers found
    RAMDISK driver initialized: 16 RAM disks of 100000K 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
    ide0: I/O resource 0x1F0-0x1F7 not free.
    ide0: ports already in use, skipping probe
    Probing IDE interface ide1...
    hdc: ST9808210A, ATA DISK drive
    Probing IDE interface ide2...
    Probing IDE interface ide3...
    Probing IDE interface ide4...
    Probing IDE interface ide5...
    ide1 at 0x170-0x177,0x376 on irq 15
    hdc: max request size: 1024KiB
    hdc: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=16383/255/63
    hdc: cache flushes supported
    hdc: hdc1 hdc2 hdc3 hdc4 < hdc5 hdc6 >
    libata version 1.11 loaded.
    ahci version 1.00
    PCI: Found IRQ 11 for device 0000:00:1f.2
    PCI: Sharing IRQ 11 with 0000:00:1d.1
    PCI: Sharing IRQ 11 with 0000:00:1f.3
    ahci: probe of 0000:00:1f.2 failed with error -12
    ata_piix version 1.03
    PCI: Found IRQ 11 for device 0000:00:1f.2
    PCI: Sharing IRQ 11 with 0000:00:1d.1
    PCI: Sharing IRQ 11 with 0000:00:1f.3
    ata: 0x170 IDE port busy
    PCI: Setting latency timer of device 0000:00:1f.2 to 64
    ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x1100 irq 14
    ata1: dev 1 cfg 49:0f00 82:421c 83:0000 84:0000 85:0000 86:0000 87:0000
    88:0000
    ata1: dev 1 ATAPI, max MWDMA2
    ata1: dev 1 configured for MWDMA2
    scsi0 : ata_piix
    Vendor: HL-DT-ST Model: DVDRAM GMA-4080N Rev: 0H39
    Type: CD-ROM ANSI SCSI revision: 05
    sr0: scsi3-mmc drive: 62x/62x writer dvd-ram cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.20
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0
    mice: PS/2 mouse device common for all mice
    EISA: Probing bus 0 at eisa.0
    Cannot allocate resource for EISA slot 1
    Cannot allocate resource for EISA slot 8
    EISA: Detected 0 cards.
    NET: Registered protocol family 2
    IP: routing cache hash table of 2048 buckets, 32Kbytes
    TCP established hash table entries: 32768 (order: 7, 524288 bytes)
    TCP bind hash table entries: 32768 (order: 6, 393216 bytes)
    TCP: Hash tables configured (established 32768 bind 32768)
    NET: Registered protocol family 1
    NET: Registered protocol family 15
    RAMDISK: Compressed image found at block 0
    VFS: Mounted root (ext2 filesystem).
    seagate: ST0x/TMC-8xx not detected.
    Failed initialization of WD-7000 SCSI card!
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    USB Universal Host Controller Interface driver v2.2
    PCI: Found IRQ 11 for device 0000:00:1d.0
    PCI: Sharing IRQ 11 with 0000:00:1d.7
    PCI: Setting latency timer of device 0000:00:1d.0 to 64
    uhci_hcd 0000:00:1d.0: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) USB UHCI #1
    uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
    uhci_hcd 0000:00:1d.0: irq 11, io base 0x00001200
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 2 ports detected
    PCI: Found IRQ 11 for device 0000:00:1d.1
    PCI: Sharing IRQ 11 with 0000:00:1f.2
    PCI: Sharing IRQ 11 with 0000:00:1f.3
    PCI: Setting latency timer of device 0000:00:1d.1 to 64
    uhci_hcd 0000:00:1d.1: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) USB UHCI #2
    uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
    uhci_hcd 0000:00:1d.1: irq 11, io base 0x00001220
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 2 ports detected
    PCI: Found IRQ 11 for device 0000:00:1d.2
    PCI: Setting latency timer of device 0000:00:1d.2 to 64
    uhci_hcd 0000:00:1d.2: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) USB UHCI #3
    uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
    uhci_hcd 0000:00:1d.2: irq 11, io base 0x00001240
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 2 ports detected
    PCI: Found IRQ 11 for device 0000:00:1d.3
    PCI: Sharing IRQ 11 with 0000:00:01.0
    PCI: Sharing IRQ 11 with 0000:00:1c.0
    PCI: Sharing IRQ 11 with 0000:01:00.0
    PCI: Sharing IRQ 11 with 0000:06:04.0
    PCI: Setting latency timer of device 0000:00:1d.3 to 64
    uhci_hcd 0000:00:1d.3: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) USB UHCI #4
    uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
    uhci_hcd 0000:00:1d.3: irq 11, io base 0x00001260
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 2 ports detected
    ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
    Initializing USB Mass Storage driver...
    usbcore: registered new driver usb-storage
    USB Mass Storage support registered.
    ieee1394: Initialized config rom entry `ip1394'
    ohci1394: $Rev: 1250 $ Ben Collins
    PCI: Found IRQ 10 for device 0000:06:00.0
    PCI: Sharing IRQ 10 with 0000:00:1e.3
    ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[10] MMIO=[b0020000-
    b00207ff] Max Packet=[2048]
    sbp2: $Rev: 1219 $ Ben Collins
    ieee1394: sbp2: Driver forced to serialize I/O (serialize_io = 1)
    input: AT Translated Set 2 keyboard on isa0060/serio0
    Synaptics Touchpad, model: 1, fw: 5.8, id: 0x9248b1, caps:
    0x904713/0x4000
    input: SynPS/2 Synaptics TouchPad on isa0060/serio4
    psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
    ieee1394: Host added: ID:BUS[0-00:1023] GUID[00023f57714042c4]
    spurious 8259A interrupt: IRQ7.
    Synaptics Touchpad, model: 1, fw: 5.8, id: 0x9248b1, caps:
    0x904713/0x4000
    input: SynPS/2 Synaptics TouchPad on isa0060/serio4
    ISO 9660 Extensions: Microsoft Joliet Level 3
    ISO 9660 Extensions: RRIP_1991A
    cloop: Initializing cloop v2.02
    cloop: loaded (max 8 devices)
    cloop: /cdrom/KNOPPIX/KNOPPIX: 82157 blocks, 65536 bytes/block, largest
    block is 65562 bytes.
    ISO 9660 Extensions: RRIP_1991A
    cloop: losetup_file: 28811 blocks, 65536 bytes/block, largest block is
    65562 bytes.
    ISO 9660 Extensions: RRIP_1991A
    Registering unionfs 20050811-1552
    Freeing unused kernel memory: 296k freed
    Real Time Clock Driver v1.12
    apm: BIOS not found.
    Linux Kernel Card Services
    options: [pci] [cardbus] [pm]
    PCI: Found IRQ 11 for device 0000:06:04.0
    PCI: Sharing IRQ 11 with 0000:00:01.0
    PCI: Sharing IRQ 11 with 0000:00:1c.0
    PCI: Sharing IRQ 11 with 0000:00:1d.3
    PCI: Sharing IRQ 11 with 0000:01:00.0
    Yenta: CardBus bridge found at 0000:06:04.0 [1025:007a]
    Yenta: ISA IRQ mask 0x0000, PCI irq 11
    Socket status: 30000006
    cs: IO port probe 0xc00-0xcff: clean.
    cs: IO port probe 0x820-0x8ff: clean.
    cs: IO port probe 0x800-0x80f: clean.
    cs: IO port probe 0x100-0x4ff: excluding 0x278-0x27f 0x2f8-0x2ff 0x3b0-
    0x3df 0x3f0-0x3f7 0x4d0-0x4d7
    cs: IO port probe 0xa00-0xaff: clean.
    usbcore: registered new driver hiddev
    usbcore: registered new driver usbhid
    drivers/usb/input/hid-core.c: v2.01:USB HID core driver
    Serial: 8250/16550 driver $Revision: 1.90 $ 14 ports, IRQ sharing
    disabled
    ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    parport0: PC-style at 0x278 (0x678) [PCSPP,TRISTATE]
    parport0: irq 14 detected
    ieee80211_crypt: registered algorithm 'NULL'
    ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.1
    ipw2200: Copyright(c) 2003-2004 Intel Corporation
    PCI: Found IRQ 11 for device 0000:06:02.0
    ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
    ipw2200: Radio Frequency Kill Switch is On:
    Kill switch must be turned off for wireless networking to work.
    hw_random: cannot enable RNG, aborting
    Linux agpgart interface v0.101 (c) Dave Jones
    agpgart: Detected an Intel 915GM Chipset.
    agpgart: AGP aperture is 256M @ 0x0
    tg3.c:v3.31 (June 8, 2005)
    PCI: Found IRQ 11 for device 0000:06:01.0
    eth1: Tigon3 [partno(BCM95788A50) rev 3003 PHY(5705)] (PCI:33MHz:32-bit)
    10/100/1000BaseT Ethernet 00:0f:b0:80:8d:a0
    eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[0]
    TSOcap[1]
    eth1: dma_rwctrl[763f0000]
    Intel 810 + AC97 Audio, version 1.01, 22:38:37 Aug 9 2005
    PCI: IRQ 5 for device 0000:00:1e.2 doesn't match PIRQ mask - try
    pci=usepirqmask
    PCI: Found IRQ 5 for device 0000:00:1e.2
    PCI: Sharing IRQ 5 with 0000:00:1c.1
    PCI: Sharing IRQ 5 with 0000:06:04.1
    PCI: Sharing IRQ 5 with 0000:06:04.2
    PCI: Sharing IRQ 5 with 0000:06:04.3
    PCI: Sharing IRQ 5 with 0000:06:04.4
    PCI: Setting latency timer of device 0000:00:1e.2 to 64
    i810: Intel ICH4 found at IO 0xe100 and 0xe000, MEM 0xd0000000 and
    0xd0000200, IRQ 5
    i810: Intel ICH4 mmio at 0xe0de0000 and 0xe0de2200
    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: ALG82 (Unknown)
    i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
    i810_audio: setting clocking to 48813
    EXT3-fs: mounted filesystem with ordered data mode.
    kjournald starting. Commit interval 5 seconds
    Adding 4883720k swap on /dev/hdc5. Priority:-1 extents:1
    EXT3-fs: mounted filesystem with ordered data mode.
    kjournald starting. Commit interval 5 seconds
    NET: Registered protocol family 17
    tg3: eth1: Link is up at 100 Mbps, full duplex.
    tg3: eth1: Flow control is on for TX and on for RX.
    apm: BIOS not found.
    tg3: eth1: Link is up at 100 Mbps, full duplex.
    tg3: eth1: Flow control is on for TX and on for RX.


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  4. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    Frans Pop said...
    > On Tuesday 27 September 2005 20:35, marc wrote:
    > > # /sbin/init: 432: cannot open dev/console: No such file
    > > # Kernel panic - not syncing: Attempting to kill init!

    >
    > This can mean 2 things:
    > - the drivers needed for your disk controller are not available; if your
    > laptop has SATA, this is pretty likely for 2.6.8 and less so for 2.6.12
    > - your bootloader config and /etc/fstab refer to /dev/hda (for the 2.4
    > kernel), but the SATA driver in the 2.6 kernel uses /dev/sda
    >
    > You can check this by carefully reading the messages on console during
    > boot (use shift-pageup to scroll back up).


    Okay, after a week of intense learning, experimentation, and much
    rebooting. I understand a lot more and realise that I should have
    pursued the first piece of advice I was given :-o If only I'd known then
    what I know now! Nevertheless, lots of very useful knowledge has been
    gained.

    This morning I abandoned 2.6.8 for 2.6.12 (standard deb), changed the
    grub line to point to /dev/sda3 rather than /dev/hdc3, added pci=noacpi
    and the machine booted.

    Two notes for the archive:
    - the hard disk now works at full speed (presumably the slow disk I was
    experiencing in 2.4.? and still experience in Knoppix is related to DMA)
    - the pci=noacpi is better then acpi=off, since the latter disables the
    wireless card. (Actually, it disables the hardware switch, which results
    in being unable to turn the wireless card on.)

    My next question involves the fact that lots of stuff that I had setup
    in 2.4.?? points to /dev/hdc3. Fixing these manually is no problem when
    they appear, but what system level things should I change?

    --
    Best,
    Marc


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  5. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    On Monday 03 October 2005 13:11, marc wrote:
    > Okay, after a week of intense learning, experimentation, and much
    > rebooting. I understand a lot more and realise that I should have
    > pursued the first piece of advice I was given :-o If only I'd known
    > then what I know now! Nevertheless, lots of very useful knowledge has
    > been gained.


    It is great to see a relatively new user doing things "the right way" :-)

    > My next question involves the fact that lots of stuff that I had setup
    > in 2.4.?? points to /dev/hdc3. Fixing these manually is no problem when
    > they appear, but what system level things should I change?


    AFAIK there are only two really important items (which you have probably
    already fixed as the system boots now):
    - /etc/fstab
    - bootloader configuration, probably /boot/grub/menu.lst
    (or, if you use lilo instead of grub: /etc/lilo.conf; don't forget to
    run lilo after any changes)

    Cheers,
    FJP

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.1 (GNU/Linux)

    iD8DBQBDQRV0gm/Kwh6ICoQRAgJwAKCDW0ORRTow7LgU0te2cYWG5zoyrgCgo1kn
    qR27fjjaGS2bKqPx7HLpEBo=
    =g378
    -----END PGP SIGNATURE-----


  6. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    Frans Pop said...
    > On Monday 03 October 2005 13:11, marc wrote:
    >
    > > My next question involves the fact that lots of stuff that I had setup
    > > in 2.4.?? points to /dev/hdc3. Fixing these manually is no problem when
    > > they appear, but what system level things should I change?

    >
    > AFAIK there are only two really important items (which you have probably
    > already fixed as the system boots now):
    > - /etc/fstab
    > - bootloader configuration, probably /boot/grub/menu.lst
    > (or, if you use lilo instead of grub: /etc/lilo.conf; don't forget to
    > run lilo after any changes)


    Thanks for that.

    Yes, the fstab entries failed during the initial boot. The boot process
    dumps you at the command prompt to fix it before continuing.

    Next question: how do I identify where the CD drive is attached? It was
    /dev/hdb.

    --
    Best,
    Marc


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  7. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    Also sprach marc (Mon, 3 Oct 2005 15:50:27 +0100):
    > Frans Pop said...
    > > On Monday 03 October 2005 13:11, marc wrote:
    > >
    > > > My next question involves the fact that lots of stuff that I had setup
    > > > in 2.4.?? points to /dev/hdc3. Fixing these manually is no problem when
    > > > they appear, but what system level things should I change?

    > >
    > > AFAIK there are only two really important items (which you have probably
    > > already fixed as the system boots now):
    > > - /etc/fstab
    > > - bootloader configuration, probably /boot/grub/menu.lst
    > > (or, if you use lilo instead of grub: /etc/lilo.conf; don't forget to
    > > run lilo after any changes)


    (if in use laptop-mode-tools, smartmon, hdparm, ..

    > Thanks for that.
    >
    > Yes, the fstab entries failed during the initial boot. The boot process
    > dumps you at the command prompt to fix it before continuing.
    >
    > Next question: how do I identify where the CD drive is attached? It was
    > /dev/hdb.


    check your dmesg output ($ dmesg or /var/log/dmesg or $ grep
    CD /var/log/dmesg); try to mount a cd:

    mount -t iso9660 /dev/hdc /cdrom

    sl ritch


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  8. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    On Monday 03 October 2005 22:06, marc wrote:
    > Yup, as I suspected, it's not being recognised. I guess this fall into
    > the other thread about the missing CD drive, which requires a kernel
    > build.


    you probably need to load the drivers needed for the CD drive before the
    SATA drivers. This is a known issue for some controllers.

    This may be somewhat hard to do if you use an initrd. If not, just put the
    drivers for the CD drive in /etc/modules.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.1 (GNU/Linux)

    iD8DBQBDQZFRgm/Kwh6ICoQRAlmEAKCUPdDFZK1HGf6baK2sC1Qhooav5QCdE8vN
    cRVdAsEJykz4DzmKqV/sAGw=
    =Up2s
    -----END PGP SIGNATURE-----


  9. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    Richard Mittendorfer said...
    > Also sprach marc (Mon, 3 Oct 2005 15:50:27 +0100):
    > > Frans Pop said...
    > > > On Monday 03 October 2005 13:11, marc wrote:
    > > >
    > > > > My next question involves the fact that lots of stuff that I had setup
    > > > > in 2.4.?? points to /dev/hdc3. Fixing these manually is no problem when
    > > > > they appear, but what system level things should I change?
    > > >
    > > > AFAIK there are only two really important items (which you have probably
    > > > already fixed as the system boots now):
    > > > - /etc/fstab
    > > > - bootloader configuration, probably /boot/grub/menu.lst
    > > > (or, if you use lilo instead of grub: /etc/lilo.conf; don't forget to
    > > > run lilo after any changes)

    >
    > (if in use laptop-mode-tools, smartmon, hdparm, ..


    This is a clean install - well, fairly clean - so it was the basics that
    I was concerned about. I can trash any affected packages.

    Those are interesting packages to investigate, though. So, thanks.

    > > Thanks for that.
    > >
    > > Yes, the fstab entries failed during the initial boot. The boot process
    > > dumps you at the command prompt to fix it before continuing.
    > >
    > > Next question: how do I identify where the CD drive is attached? It was
    > > /dev/hdb.

    >
    > check your dmesg output ($ dmesg or /var/log/dmesg or $ grep
    > CD /var/log/dmesg); try to mount a cd:
    >
    > mount -t iso9660 /dev/hdc /cdrom


    Yup, as I suspected, it's not being recognised. I guess this fall into
    the other thread about the missing CD drive, which requires a kernel
    build.

    # cat /proc/sys/dev/cdrom/info
    reports blank entries, all the way down.

    No such problems in Knoppix or 2.4, but then they are running off
    /dev/hdc

    Hmmm

    --
    Best,
    Marc


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  10. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    On Monday 03 October 2005 23:35, marc wrote:
    > Either way, it looks like I'll have to compile the kernel.


    If you want to keep using the initrd you may not have to.
    'info mkintrd' and see /etc/mkinitrd/*, especially the modules file.

    > How does one
    > go about creating a kernel that doesn't require an initrd? I understand
    > the ideas, but not the execution. Reading links will be fine, thanks
    > :-)


    http://newbiedoc.sourceforge.net/system/kernel-pkg.html
    http://www.falkotimme.com/howtos/deb...pile/index.php

    IIRC the first link is fairly well known. Not sure about the second one,
    haven't looked at it.
    Google "debian kernel package howto" for more.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.1 (GNU/Linux)

    iD8DBQBDQadlgm/Kwh6ICoQRAvwkAKDMWs2lqemLDyaO889R0uSr6IgrJACg0wHQ
    QriB7XXBC+VJozxsI80oPRc=
    =5G+p
    -----END PGP SIGNATURE-----


  11. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    Frans Pop said...
    > On Monday 03 October 2005 22:06, marc wrote:
    > > Yup, as I suspected, it's not being recognised. I guess this fall into
    > > the other thread about the missing CD drive, which requires a kernel
    > > build.

    >
    > you probably need to load the drivers needed for the CD drive before the
    > SATA drivers. This is a known issue for some controllers.


    I'm willing to give it a go. But I don't know how to do that.

    > This may be somewhat hard to do if you use an initrd. If not, just put the
    > drivers for the CD drive in /etc/modules.


    I'm using the standard kernel package, which uses an initrd.

    Either way, it looks like I'll have to compile the kernel. How does one
    go about creating a kernel that doesn't require an initrd? I understand
    the ideas, but not the execution. Reading links will be fine, thanks :-)

    --
    Best,
    Marc


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  12. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    Also sprach marc (Mon, 3 Oct 2005 22:35:08 +0100):
    > Either way, it looks like I'll have to compile the kernel. How does one
    > go about creating a kernel that doesn't require an initrd? I understand
    > the ideas, but not the execution. Reading links will be fine, thanks :-)


    google will sure give some info - anyway, for short:

    get latest linux-source- .deb and "kernel-package"; the c-compiler and
    other necessary stuff will hopefully be dependencies or suggested by
    the source-.deb.

    cd /usr/src
    tar -jxf linux-source-...bz2 or
    tar -zxf linux-source-...gz
    [unpack the source...]

    cd linux-source
    make menuconfig (if this fails, you'll need ncurses-dev)
    [configure...]
    Be sure to know what kind of hardware is in your laptop. (Hint: lspci
    -v, the manual). Necessary things (like filesystem) must not be build as
    module since the kernel has to boot without an initrd (where these
    modules live with precompiled kernels). If you're unsure build as
    module - these should get loaded with hotplug or can be loaded
    in /etc/modules at startup. Maybe you can find a ready to use .config
    for your laptop somewhere on the net (quick google: tuxmobile.org ,
    www.linux-laptops.net , http://bram.be/travelmate_4651lci.html ,
    http://people.freenet.de/renmi/acer4652.html (german)). Your
    current .config resides in /boot/config-[version]

    # make-kpkg --revision=yours.001 kernel_image
    [compile...]

    # dpkg -i ../linux(or kernel)-image-..-yours.001-...
    [install...]
    grub should get updated by dpkg -i (?), lilo may need some modifications
    in /etc/lilo.conf to point to the new vmlinuz in /boot.

    # reboot
    [use...]

    If you forgot something or made a bobo, boot the old kernel and
    # make-kpkg clean
    # make-kpkg --revision=yours.002 kernel_image

    > --
    > Best,
    > Marc


    good luck, ritch


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  13. Re: Can't boot 2.6.?? kernels - Acer TravelMate 4651LMi

    Richard Mittendorfer said...
    > Also sprach marc (Mon, 3 Oct 2005 22:35:08 +0100):
    > > Either way, it looks like I'll have to compile the kernel. How does one
    > > go about creating a kernel that doesn't require an initrd? I understand
    > > the ideas, but not the execution. Reading links will be fine, thanks :-)

    >
    > google will sure give some info - anyway, for short:
    >
    > get latest linux-source- .deb and "kernel-package"; the c-compiler and
    > other necessary stuff will hopefully be dependencies or suggested by
    > the source-.deb.
    >
    > cd /usr/src
    > tar -jxf linux-source-...bz2 or
    > tar -zxf linux-source-...gz
    > [unpack the source...]
    >
    > cd linux-source
    > make menuconfig (if this fails, you'll need ncurses-dev)
    > [configure...]
    > Be sure to know what kind of hardware is in your laptop. (Hint: lspci
    > -v, the manual). Necessary things (like filesystem) must not be build as
    > module since the kernel has to boot without an initrd (where these
    > modules live with precompiled kernels). If you're unsure build as
    > module - these should get loaded with hotplug or can be loaded
    > in /etc/modules at startup. Maybe you can find a ready to use .config
    > for your laptop somewhere on the net (quick google: tuxmobile.org ,
    > www.linux-laptops.net , http://bram.be/travelmate_4651lci.html ,
    > http://people.freenet.de/renmi/acer4652.html (german)). Your
    > current .config resides in /boot/config-[version]
    >
    > # make-kpkg --revision=yours.001 kernel_image
    > [compile...]
    >
    > # dpkg -i ../linux(or kernel)-image-..-yours.001-...
    > [install...]
    > grub should get updated by dpkg -i (?), lilo may need some modifications
    > in /etc/lilo.conf to point to the new vmlinuz in /boot.
    >
    > # reboot
    > [use...]
    >
    > If you forgot something or made a bobo, boot the old kernel and
    > # make-kpkg clean
    > # make-kpkg --revision=yours.002 kernel_image


    Success!

    In the end, the fix - to boot the machine with a 2.6.12 kernel and see
    the CD drive - only requires two steps.

    1. To boot the machine with the regular Debian 2.6.12 kernel package,
    change the grub kernel line to point to /dev/sda3 rather than /dev/hdc3,
    and add pci=noacpi

    2. In addition, to see the CD drive, a kernel compile is required. This
    requires the following one-line change to the file
    include/linux/libata.h:

    #undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */
    to
    #define ATA_ENABLE_ATAPI /* define to enable ATAPI support */

    That's it.


    Notes:

    1(a): Any disk mounts defined in /etc/fstab that reference /dev/hdc will
    need to be adjusted to /dev/sda

    1(b): pci-noacpi is preferable to apic=off, because it does not
    deactivate the hardware switches for the wireless NIC and Bluetooth.

    1(c): An examination of dmesg, after booting, will show a lot of IRQ-
    related messages. These can be removed by adding pci=usepirqmask to the
    grub kernel line. The boot process will also be much faster.

    1(d): If you've been using the 2.4 kernel and/or Knoppix (installed),
    say, then this change will fix the very slow hard disk access you've
    been experiencing. There is a huge difference in overall performance.

    1(e): Other packages might be affected by the /dev/sda change, where
    they have embedded /dev/hdc into their configuration.

    1(f): The installation and removal of kernel packages will cause an
    regeneration of /boot/grub/menu.lst, so you might like to save your
    working grub stanza outside the automagic kernel list, to save having to
    edit it each time.

    1(g): If you've not applied the changes noted in step (2), then you can
    see that your CD drive is unrecognised via:
    # cat /proc/sys/dev/cdrom/info


    2(a): To perform the compile you need a kernel config file. You can grab
    this from /boot/config-2.6.12-1-686 after installing the package: linux-
    image-2.6.12-1-686

    Start by installing the Debian package linux-source-2.6.12. This unpacks
    the file: /usr/src/linux-source-2.6.12.tar.bz2

    Unpack this file with:
    # tar xjf * or # tar xjf linux-source-2.6.12.tar.bz2

    Then edit /usr/src/linux-source-2.6.12/include/linux/libata.h:
    #undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */
    to
    #define ATA_ENABLE_ATAPI /* define to enable ATAPI support */

    .... and save it.

    Now copy /boot/config-2.6.12-1-686 to /usr/src/linux-source-
    2.6.12/.config. There's no need to change this file in any way (or send
    it through menuconfig)

    We can now compile the kernel as detailed in Richard's post above
    # make-kpkg --revision=yours.001 kernel_image
    [compile...]
    # dpkg -I ../kernel-image-2.6.12_yours.001_i386.deb
    [install...] Note that this creates a grub entry, which you will need to
    edit in the next step.

    Using the kernel config from the Debian package means that an initrd
    will be required at boot time. Create this by:
    # cd /boot
    # mkinitrd -o /boot/initrd.img-2.6.12 2.6.12

    Now, edit /boot/grub/menu.lst to include all the changes noted in step
    (1) - i.e. pci=noacpi, etc. - and add an initrd line to the newly
    created stanza for your new kernel:
    kernel /boot/initrd.img-2.6.12

    You can reboot at this point.

    2(b): During reboot, you should hear the reassuring sound of you CD
    drive being accessed. You can check its assignment (sr0, probably) via:
    # cat /proc/sys/dev/cdrom/info

    2(c): You'll probably want to add a line, similar to the following, to
    /etc/fstab
    /dev/sr0 /media/cdrom0 iso9660 ro,user,noauto 0 0
    You can also use /dev/scd0/

    --
    Best,
    Marc


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread