Title: RE: Question about LinuxBios


-----Original Message-----
From: BHARATHWAJ MUTHUSWAMY [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 7:26 PM
To: Elias Rajczyk
Cc: [EMAIL PROTECTED]
Subject: RE: Question about LinuxBios

 Hi Bharath, attached the two listings. We removed the forced pci memory setting so the kernel just finds hda as non-ide.  My system is a 440bx with compact flash.

 Anyone any hints ?

  Eli

On Mon, 3 Dec 2001, Elias Rajczyk wrote:

>
>  On our system linuxBIOS gets up to the point that the kernel uncompresses
> and then tries to detect the root file system on hard disk. We pass it
> kernel option root=/dev/hda1 and supplemental parameters for disk geometry,
> ide bus,  i/o and delayed access to the ide controllers for the case they
> can't follow the post-expansion activity. The master ide (hda) gets
> identified as non-ide device and interestingly the slave ide (hdb) gets
> identified as ide-device but stays without response. At this point we think
> the pci initialisation before kernel expansion was insufficient - we also
> get strange values for the ultra dma, time and slave time registers on the
> pci bus (0x1001 for all of them). How far is the linux prompt ?

Can u set up serial console, capture the output from LinuxBIOS and email
it to us?  It would also be great if u can send us an lspci -xxx and lspci
-vv when u have linux up under "normal" BIOS.

Bharath

>  Eli
>
> -----Original Message-----
> From: Ronald G Minnich [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 02, 2001 9:56 PM
> To: Elias Rajczyk
> Cc: [EMAIL PROTECTED]
> Subject: Re: Question about LinuxBios
>
>
> tOn Sun, 2 Dec 2001, Elias Rajczyk wrote:
>
> >  Does linuxbios nowadays support access to ide controllers ?
>
> For what use? It looks like some support will go in, but only for generic
> IDE I hope.
>
> ron
>

 

����������      ���Reached intel_main().
Updating microcode
microcode_info: sig = 0x00000683 pf=0x00000010 rev = 0x00000000
Finding PCI confiuration type...
PCI: Using configuration type 1
Scanning PCI bus...done
totalram: 128M
Enabling cache...done.
Allocating PCI resources...compute_allocate_io: base 0x1000
DEVIO: Bus 0x0, devfn 0x39, reg 0x4: iosize 0x10
-->set base to 0x1000
DEVIO: Bus 0x0, devfn 0x3a, reg 0x4: iosize 0x20
-->set base to 0x1010
DEVIO: Bus 0x0, devfn 0x68, reg 0x1: iosize 0x40
-->set base to 0x1030
BUS 0: set iolimit to 0x1fff
DEVMEM: Bus 0x0, devfn 0x60, reg 0x0: memsize 0x1000000
DEVMEM: Bus 0x0, devfn 0x68, reg 0x0: memsize 0x1000
DEVMEM: Bus 0x0, devfn 0x68, reg 0x2: memsize 0x100000
DEVPREFMEM: Bus 0x0, devfn 0x0, reg 0x0: prefmemsize 0x10000000
ASSIGN RESOURCES, bus 0
Bus 0x0 devfn 0x0 reg 0x0 base to 0x90000000
Bus 0x0 devfn 0x39 reg 0x4 base to 0x1001
Bus 0x0 devfn 0x3a reg 0x4 base to 0x1011
Bus 0x0 devfn 0x60 reg 0x0 base to 0x80000000
Bus 0x0 devfn 0x68 reg 0x0 base to 0x81000000
Bus 0x0 devfn 0x68 reg 0x1 base to 0x1031
Bus 0x0 devfn 0x68 reg 0x2 base to 0x81100000
DEV Set command bus 0x0 devfn 0x0 to 0x6
DEV Set command bus 0x0 devfn 0x38 to 0x7

ALLOT : ID=0x71118086
DEV Set command bus 0x0 devfn 0x39 to 0x1
��qDEV Set command bus 0x0 devfn 0x3a to 0x1
��qDEV Set command bus 0x0 devfn 0x3b to 0x1
��qDEV Set command bus 0x0 devfn 0x60 to 0x82
��qDEV Set command bus 0x0 devfn 0x68 to 0x3
��qdone.
intel_mainboard_fixup()
DRB[i] = 0x00
DRB[i] = 0x00
DRB[i] = 0x00
DRB[i] = 0x00
DRB[i] = 0x10
DRB[i] = 0x10
DRB[i] = 0x10
DRB[i] = 0x10
DRAMC = 0x09
RPS = 0x00
PGPOL = 0x1000
NBXCFG = 0xff00800c
Reset Control Register
port 92
Disable Nmi
enabling smbus
enable pm functions
disabling smi
Disable more pm stuff
Set the subsystem vendor id
Disabling pm stuff in pci config space
Testing SMI
SMI disabled
Enabling extended BIOS access...done.
Zeroing IRQ settings...done.
Enabling interrupts...done.
Configuring L2 cache...done.
Jumping to linuxbiosmain()...

Welcome to start32, the open sourced starter.
This space will eventually hold more diagnostic information.

January 2000, James Hendricks, Dale Webster, and Ron Minnich.
Version 0.1

nvram=0xfff80000
4. inbuf=nvram assign=0xfff80000
5. inbuf[0]=0x1f
5. inbuf[1]=0x8b
5. inbuf[2]=0x8
magic_0=1f, magic_1=8b method=8
2. nvram=0xfff90000
4. inbuf=nvram assign=0xfff90000
5. inbuf[0]=0xe5
5. inbuf[1]=0x3f
5. inbuf[2]=0xbe
2. nvram=0xfffa0000
4. inbuf=nvram assign=0xfffa0000
5. inbuf[0]=0x95
5. inbuf[1]=0x2c
5. inbuf[2]=0xba
2. nvram=0xfffb0000
4. inbuf=nvram assign=0xfffb0000
5. inbuf[0]=0xd0
5. inbuf[1]=0x3a
5. inbuf[2]=0xa5
2. nvram=0xfffc0000
4. inbuf=nvram assign=0xfffc0000
5. inbuf[0]=0xdf
5. inbuf[1]=0xb2
5. inbuf[2]=0xb6
2. nvram=0xfffd0000
4. inbuf=nvram assign=0xfffd0000
5. inbuf[0]=0x71
5. inbuf[1]=0x85
5. inbuf[2]=0xad
2. nvram=0xfffe0000
4. inbuf=nvram assign=0xfffe0000
5. inbuf[0]=0xd
5. inbuf[1]=0x14
5. inbuf[2]=0x6d
gunzip return value=0
empty_zero_page=0x90000, (589824)
after setting empty_zero_page in init_params
before set_memory_size, totalram=131072
after set_memory_size, totalram=131072
before set_command_line, cmd_line=root=/dev/hda1 ide0=0x1f0,0x3f6,14 ide0=dma id
ebus=33 hda=39813,16,63 console=ttyS0,9600 debug 3
after set_command_line, cmd_line=root=/dev/hda1 ide0=0x1f0,0x3f6,14 ide0=dma ide
bus=33 hda=39813,16,63 console=ttyS0,9600 debug 3
before set_root_rdonly
after set_root_rdonly
before set_display
after set_display
before set_initrd, initrd_start=%, initrd_size=%
after set_initrd, initrd_start=%, initrd_size=%
jumping to boot code
before assembler instruction that moves 0 to ebx (for SMP)
Linux version 2.4.14 (erajczyk@muncher) (gcc version 2.95.3 20010315 (release))
#46 SMP Wed Dec 5 16:27:43 IST 2001
BIOS-provided physical RAM map:
 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e801: 0000000000100000 - 0000000007f00000 (usable)
On node 0 totalpages: 32512
zone(0): 4096 pages.
zone(1): 28416 pages.
zone(2): 0 pages.
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Kernel command line: root=/dev/hda1 ide0=0x1f0,0x3f6,14 ide0=dma idebus=33 hda=3
9813,16,63 console=ttyS0,9600 debug 3
ide_setup: ide0=0x1f0,0x3f6,14

ide_setup: ide0=dma
ide_setup: idebus=33
ide_setup: hda=39813,16,63
Initializing CPU#0
Detected 801.828 MHz processor.
Calibrating delay loop... 1599.07 BogoMIPS
Memory: 126376k/130048k available (668k kernel code, 3284k reserved, 159k data,
56k init, 0k highmem)
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: Before vendor init, caps: 0387fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0387fbff 00000000 00000000 00000000
CPU serial number disabled.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU: Before vendor init, caps: 0383fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU0: Intel Pentium III (Coppermine) stepping 03
per-CPU timeslice cutoff: 732.15 usecs.
SMP motherboard not detected.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000040
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 801.8218 MHz.
..... host bus clock speed is 100.2276 MHz.
cpu: 0, clocks: 1002276, slice: 501138
CPU0<T0:1002272,T1:501120,D:14,S:501138,C:1002276>
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd
i2c-core.o: i2c core module
i2c-dev.o: i2c /dev entries driver module
i2c-core.o: driver i2c-dev dummy driver registered.
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes
hd1: C/H/S=0/0/0 from BIOS ignored
ALTSTATUS_REG=0xff, STATUS_REG=0xff
ALTSTATUS_REG=0xff, STATUS_REG=0xff
hda: no response (status = 0xff)
hda: non-IDE drive, CHS=39813/16/63
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
hda1: bad access: block=2, count=2
end_request: I/O error, dev 03:01 (hda), sector 2
EXT2-fs: unable to read superblock
Kernel panic: VFS: Unable to mount root fs on 03:01

Attachment: pci.log
Description: Binary data

Reply via email to