Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13939 - lilo will not boot the first kernel image w/o extra parameters
Summary: lilo will not boot the first kernel image w/o extra parameters
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL: http://www.siig.com/products/ide/spec...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-14 17:08 UTC by David Cozatt
Modified: 2003-09-25 15:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cozatt 2003-01-14 17:08:57 UTC
First this is an off-board pci ide card. The card is SIIG UDMA 133.   
Lilo has no trouble with the onboard chipset with essentially the same config file.  
 
The following is lilo.conf: 
  
30 00:55:18 woodchip Exp $ 
# Author: Ultanium 
# Start LILO global section 
menu-scheme=Wb 
boot = /dev/hde 
prompt 
map = /boot/System.map 
#compact        # faster, but won't work on all systems. 
lba32 
timeout=150 
#delay = 50 
vga = normal    # Normal VGA console 
append="ide2=0xb800,0xbc02 hdd=ide-scsi" 
# End LILO global section 
# Linux bootable partition config begins 
#       disk = /dev/hde 
#       bios=0x80 
        image = /boot/vmlinuz 
        root = /dev/hde5 
        #root = /dev/ide/host2/bus0/target0/lun0/part5 
        label = Gentoo 
        read-only # read-only for checking 
# New kernel  
# New kernel image 
        image = /usr/src/linux/arch/i386/boot/bzImage 
        root = /dev/hde5 
        label = New 
        read-only 
# DOS bootable partition config begins 
        other = /dev/hde1 
        #other = /devices/discs/disc0/part1 
        label = Windows 
        table = /dev/hde 
# DOS bootable partition config ends 
# New kernel image 
        image = /usr/src/linux/arch/i386/boot/bzImage 
        root = /dev/hde5 
        label = New 
        read-only 
# DOS bootable partition config begins 
        other = /dev/hde1 
        #other = /devices/discs/disc0/part1 
        label = Windows 
        table = /dev/hde 
# DOS bootable partition config ends 
 
The first image will not boot without adding "disk=/dev/hde" @ the prompt 
The second and third entries boot just time the first time. 
 
Here is the really weird part. If I reboot (without running lilo again which should NOT be 
necessary) I don't get a menu, or a choice it boots straight into New.  
 
If I rerun lilo then I get the menu and choices. 
 
If I choose New as the kernel image to boot it loads without adding any extra parameters. 
As you may be able to tell from the commented entries I have tried seversal things to  
alleviate the parameter problem. Suggestions are welcome. 
bus_drivr
Comment 1 David Cozatt 2003-01-14 22:07:22 UTC
Heh, didn't see the repeat of the last two stanzas. 
The /boot/vmlinuz is a symlink. I use 'make install'. 
I have copied the image to /boot/vmlinuz and rerun 
lilo to eliminate symlink as a cause. Alas no effect. 
Comment 2 David Cozatt 2003-01-15 19:16:12 UTC
yggsdrasil root # lspci -vv 
00:00.0 Host bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3] (rev 04) 
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B- 
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR+ 
        Latency: 16 
        Region 0: Memory at eb000000 (32-bit, prefetchable) [size=4M] 
        Capabilities: [a0] AGP version 1.0 
                Status: RQ=7 SBA+ 64bit- FW- Rate=x1 
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none> 
 
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] 
(prog-if 00 [Normal decode]) 
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B- 
        Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- 
        Latency: 0 
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 
        I/O behind bridge: 00009000-00009fff 
        BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B- 
 
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586/A/B PCI-to-ISA [Apollo VP] (rev 47) 
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping+ 
SERR- FastB2B- 
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- 
        Latency: 0 
 
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586B PIPC Bus Master IDE (rev 06) 
(prog-if 8a [Master SecP PriP]) 
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B- 
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- 
        Latency: 64 
        Region 4: I/O ports at b400 [size=16] 
 
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 02) (prog-if 00 [UHCI]) 
        Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller 
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B- 
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- 
        Latency: 64, cache line size 08 
        Interrupt: pin D routed to IRQ 12 
        Region 4: I/O ports at b000 [size=32] 
 
00:07.3 PCI bridge: VIA Technologies, Inc. VT82C586B ACPI (rev 10) (prog-if 00 [Normal 
decode]) 
        !!! Invalid class 0604 for header type 00 
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B- 
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- 
        Interrupt: pin ? routed to IRQ 9 
 
00:08.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX DDR] (rev b2) 
(prog-if 00 [VGA]) 
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B- 
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- 
        Latency: 248 (1250ns min, 250ns max) 
        Interrupt: pin A routed to IRQ 5 
        Region 0: Memory at e8000000 (32-bit, non-prefetchable) [size=16M] 
        Region 1: Memory at e0000000 (32-bit, prefetchable) [size=128M] 
        Expansion ROM at e9000000 [disabled] [size=64K] 
        Capabilities: [60] Power Management version 2 
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) 
                Status: D0 PME-Enable- DSel=0 DScale=0 PME- 
 
00:09.0 SCSI storage controller: Artop Electronic Corp ATP865 (rev 02) 
        Subsystem: Artop Electronic Corp ATP865 
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B- 
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- 
        Latency: 254 (2750ns min, 1000ns max) 
        Interrupt: pin A routed to IRQ 10 
        Region 0: I/O ports at b800 [size=8] 
        Region 1: I/O ports at bc00 [size=4] 
        Region 2: I/O ports at c000 [size=8] 
        Region 3: I/O ports at c400 [size=4] 
        Region 4: I/O ports at c800 [size=16] 
        Expansion ROM at ea000000 [disabled] [size=64K] 
        Capabilities: [58] Power Management version 1 
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) 
                Status: D0 PME-Enable- DSel=0 DScale=0 PME- 
 
00:0a.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10) 
        Subsystem: D-Link System Inc DFE-530TX+ 10/100 Ethernet Adapter 
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B- 
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- 
        Latency: 64 (8000ns min, 16000ns max) 
        Interrupt: pin A routed to IRQ 11 
        Region 0: I/O ports at cc00 [size=256] 
        Region 1: Memory at eb400000 (32-bit, non-prefetchable) [size=256] 
        Capabilities: [50] Power Management version 2 
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-) 
                Status: D0 PME-Enable- DSel=0 DScale=0 PME- 
 
yggsdrasil root # lilo -v3 
LILO version 22.3.4, Copyright (C) 1992-1998 Werner Almesberger 
Development beyond version 21 Copyright (C) 1999-2002 John Coffman 
Released 01-Nov-2002 and compiled at 20:50:24 on Jan  5 2003. 
 
raid_setup returns offset = 00000000  ndisk = 0 
Reading boot sector from /dev/hde 
Invalidating cache entry for /dev/hda (0x0300) 
Created temporary device /tmp/dev.0 (0x0300) 
Removed temporary device /tmp/dev.0 (0x0300) 
bios_dev:  device 2105 
bios_dev:  masked device 2100, which is /dev/hde 
bios_dev: geometry check found 0 matches 
bios_dev: PT match found 1 match (0x80) 
Device 0x2105: BIOS drive 0x80, 255 heads, 2491 cylinders, 
               63 sectors. Partition offset: 19679688 sectors. 
Using MENU secondary loader 
Calling map_insert_data 
Secondary loader: 19 sectors (0x3600 dataend). 
 
Boot image: /boot/vmlinuz -> vmlinuz-2.4.20-lolo-r1_rc3 
bios_dev:  device 2105 
bios_dev:  masked device 2100, which is /dev/hde 
bios_dev: geometry check found 0 matches 
bios_dev: PT match found 1 match (0x80) 
Device 0x2105: BIOS drive 0x80, 255 heads, 2491 cylinders, 
               63 sectors. Partition offset: 19679688 sectors. 
Setup length is 10 sectors. 
Mapped 1687 sectors. 
Added Gentoo * 
    <dev=0xe0,hd=76,cyl=107,sct=27> 
    "ro root=2105 ide2=0xb800,0xbc02 hdd=ide-scsi" 
 
Boot image: /usr/src/linux/arch/i386/boot/bzImage 
bios_dev:  device 2107 
bios_dev:  masked device 2100, which is /dev/hde 
bios_dev: geometry check found 0 matches 
bios_dev: PT match found 1 match (0x80) 
Device 0x2107: BIOS drive 0x80, 255 heads, 2491 cylinders, 
               63 sectors. Partition offset: 32130063 sectors. 
Setup length is 10 sectors. 
Mapped 1687 sectors. 
Added New 
    <dev=0xe0,hd=76,cyl=107,sct=46> 
    "ro root=2105 ide2=0xb800,0xbc02 hdd=ide-scsi" 
 
Boot other: /dev/hde1, on /dev/hde, loader CHAIN 
bios_dev:  device 2101 
bios_dev:  masked device 2100, which is /dev/hde 
bios_dev: geometry check found 0 matches 
bios_dev: PT match found 1 match (0x80) 
Device 0x2101: BIOS drive 0x80, 255 heads, 2491 cylinders, 
               63 sectors. Partition offset: 63 sectors. 
bios_dev:  device 2100 
bios_dev:  masked device 2100, which is /dev/hde 
bios_dev: geometry check found 0 matches 
bios_dev: PT match found 1 match (0x80) 
Device 0x2100: BIOS drive 0x80, 255 heads, 2491 cylinders, 
               63 sectors. Partition offset: 0 sectors. 
Mapped 6 (4+1+1) sectors. 
Added Windows 
    <dev=0xe0,hd=76,cyl=107,sct=68> 
 
/boot/boot.2100 exists - no backup copy made. 
Map file size: 35328 bytes. 
Writing boot sector. 
Failsafe check:  boot_dev_nr = 0x2100 0xffc0 
 
kernel versions don't seem to matter since I have had this problem since I have been able to 
boot the off motherboard pci card. The Artop Electronics board is the SIIG UDMA 133 
 
 
 
Comment 3 David Cozatt 2003-01-15 22:00:39 UTC
I am a user not a vendor. 
 
AFAIK there was a linux driver released for one version of this card.  
ONLY this version. I was unable to get this card working at all until  
using lolo-sources 2.4.19-pre(something) The chipsets on other cards 
are different.  
 
On the box it states this card supports : 
Windows various versions and Linux. 
 
Have verified that the listed product specification page is the correct version of the card 
according to the original box.  
 
There was originally a driver available by ftp and I have a copy on floppy that came with the  
card. All references to Linux seem to have been removed from the SIIG website. 
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-17 09:04:18 UTC
lolo, this seems to be a kernel issue.  if it really is a lilo issue, please
reassign to woodchip
Comment 5 David Cozatt 2003-02-28 14:37:54 UTC
Ok compiled and installed xfs-sources, boots the kernel and supports ATA card. 
Same booting problems. used rdev on kernel in /boot and set to correct /root. 
Booted once w/o0 extra parameters. Then back to bypassing the lilo menu. 
 
Last two livecd's have booted this board and found /dev/hde fine. 
Last tried was 1.4-rc3 yesterday. worked fine. tried the experimental a few days back 
it also boots fine and dma is enabled in both kernels. 
 
Have not been able to get dma enabled in gentoo-sources or last pre's for lolo before latest  
gentoo-sources. 
 
bus_drivr 
Comment 6 Bob Johnson (RETIRED) gentoo-dev 2003-03-04 06:41:10 UTC
right now your best bet is gs-sources it has the correct driver.
This should get you by until 2.4.21 (its now part of the kernel tree)
Comment 7 David Cozatt 2003-03-07 03:36:31 UTC
Emerged gs-sources( 2.4.21-pre5) and it boots the card ok. Still will not boot the kernel in the first stanza of lilo
w/o extra parameters. 
Ran hdparm -tT /dev/hde and got some really strange results with this
Timing buffer-cache reads: -1876 MB in 0.00 seconds = -inf KB/s
Timing buffered disk reads: -938 MB in 0.00 seconds = -inf KB/s
Hmm.. suspicious results: probably not enough free memory for a proper test.

With xfs-sources I get ~60/30. It also says suspicious results.
With gentoo-sources dma is off and am not able to turn it on.
Comment 8 David Cozatt 2003-03-25 10:09:32 UTC
  This box will be sold next week on Friday. If anyone is interested in pursuing this I will send the SIIG card. 
However the hardware would not be exactly the same,of course, so you may not be able to reproduce this behaviour.
I think you would though on any via socket 7 that  supports amd k62- to 550 cpu. MVP4? Probably would occur on others though.
Let me know this week. I know drobbins had a board like this but doubt he has the time. Any takers? 
  I can work on this till about 3-31-03 if requested after which it will be reconfigured for sale.
  One other boog. I partitioned this box with linux fdisk. Windows sees an extra logical? drive under my computer.
In other words three windows partitions only two of which are there under cfdisk :). Windows 98.  Doesn't see the 
extra drive until the windows driver is installed. But that has nothing to do with the Linux. Probably points to this being 
a driver issue. Perhaps in Linux too?

DJ Cozatt
Comment 9 David Cozatt 2003-04-10 09:05:14 UTC
 I no longer have this mobo. I may soon move this card to another board just to see if it still occurs and since no one else wants it. 

bus_drivr
Comment 10 Tim Yamin (RETIRED) gentoo-dev 2003-09-25 15:26:47 UTC
Ignore me <<< We are having Bugzilla database issues.