public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* IBM Thinkpad A21 BIOS - EDD information wrong
@ 2003-10-09 21:39 Matt_Domsch
  2003-10-10 23:56 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Matt_Domsch @ 2003-10-09 21:39 UTC (permalink / raw)
  To: linux-kernel

Anyone here know the IBM Thinkpad A21 BIOS developers?  Their EDD data
is wrong.  They're reporting the disk controller is at PCI device
00:1f.7 when it's really at 00:1f.1, which would confuse any Linux tool
trying to make use of it.

Relevant portions of EDD device data, lspci, and dmidecode appended.  If
you can point me at the proper folks within IBM, I'd appreciate it.
-Matt



/sys/firmware/edd/int13_dev80/raw_data
int13 fn48 returned data:

4a 00 01 00 ff 3f 00 00 10 00 00 00 3f 00 00 00         J...ÿ?......?...
00 53 a8 04 00 00 00 00 00 02 c6 00 40 00 dd be         .Sš.......Æ.@.ÝŸ
2c 00 00 00 50 43 49 20 41 54 41 20 20 20 20 20         ,...PCI ATA     
00 1f 07 00 00 00 00 00 00 00 00 00 00 00 00 00         ................
00 00 00 00 00 00 00 00 00 a1                           .........¡      

Error: BIOS says this is a PCI device, but the OS doesn't know
  about a PCI device at 00:1f.7



00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02) (prog-if 8a
[Master SecP PriP])
        Subsystem: IBM ThinkPad A/T/X Series
        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
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at <ignored>
        Region 1: I/O ports at <ignored>
        Region 2: I/O ports at <ignored>
        Region 3: I/O ports at <ignored>
        Region 4: I/O ports at 1860 [size=16]
        Region 5: Memory at 20000000 (32-bit, non-prefetchable) [size=1K]



dmidecode:
        BIOS Information
                Vendor: IBM
                Version: 1GET36WW (1.08 )
                Release Date: 07/08/2003
                Address: 0xDC000
                Runtime Size: 144 kB
                ROM Size: 1024 kB
                Characteristics:
                        PCI is supported
                        PC Card (PCMCIA) is supported
                        PNP is supported
                        APM is supported
                        BIOS is upgradeable
                        BIOS shadowing is allowed
                        ESCD support is available
                        Boot from CD is supported
                        Selectable boot is supported
                        Boot from PC Card (PCMCIA) is supported
                        EDD is supported
                        3.5"/720 KB floppy services are supported (int 13h)
                        Print screen service is supported (int 5h)
                        8042 keyboard services are supported (int 9h)
                        Serial services are supported (int 14h)
                        Printer services are supported (int 17h)
                        CGA/mono video services are supported (int 10h)
                        ACPI is supported
                        AGP is supported
                        LS-120 boot is supported
                        BIOS boot specification is supported
Handle 0x0001
        DMI type 1, 25 bytes.
        System Information
                Manufacturer: IBM
                Product Name: 2652D6G
                Version: Not Available
                Serial Number: (removed from customer report)
                UUID: (removed from customer report)
                Wake-up Type: Power Switch
Handle 0x0002
        DMI type 2, 8 bytes.
        Base Board Information
                Manufacturer: IBM
                Product Name: 2652D6G
                Version: Not Available
                Serial Number: (removed from customer report)


-- 
Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IBM Thinkpad A21 BIOS - EDD information wrong
  2003-10-09 21:39 IBM Thinkpad A21 BIOS - EDD information wrong Matt_Domsch
@ 2003-10-10 23:56 ` Greg KH
  2003-10-11  2:46   ` Matt Domsch
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2003-10-10 23:56 UTC (permalink / raw)
  To: Matt_Domsch; +Cc: linux-kernel

On Thu, Oct 09, 2003 at 04:39:11PM -0500, Matt_Domsch@Dell.com wrote:
> 
> /sys/firmware/edd/int13_dev80/raw_data
> int13 fn48 returned data:
> 
> 4a 00 01 00 ff 3f 00 00 10 00 00 00 3f 00 00 00         J...ÿ?......?...
> 00 53 a8 04 00 00 00 00 00 02 c6 00 40 00 dd be         .Sš.......Æ.@.ÝŸ
> 2c 00 00 00 50 43 49 20 41 54 41 20 20 20 20 20         ,...PCI ATA     
> 00 1f 07 00 00 00 00 00 00 00 00 00 00 00 00 00         ................
> 00 00 00 00 00 00 00 00 00 a1                           .........¡      

Hm, I thought you were going to use the sysfs binary file interface for
this file, instead of outputing a hex dump.  Any reason for keeping it
this way?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IBM Thinkpad A21 BIOS - EDD information wrong
  2003-10-10 23:56 ` Greg KH
@ 2003-10-11  2:46   ` Matt Domsch
  2003-10-11 17:30     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Domsch @ 2003-10-11  2:46 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

> > /sys/firmware/edd/int13_dev80/raw_data
> Hm, I thought you were going to use the sysfs binary file interface for
> this file, instead of outputing a hex dump.  Any reason for keeping it
> this way?

Laziness?  No really, it just slipped my mind.  I've got the read-disk-sig 
patch I'm working on related to EDD again, so I'll fix it right soon.  
Would that fit under Linus's 'bug-only' policy?

-- 
Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IBM Thinkpad A21 BIOS - EDD information wrong
  2003-10-11  2:46   ` Matt Domsch
@ 2003-10-11 17:30     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2003-10-11 17:30 UTC (permalink / raw)
  To: Matt Domsch; +Cc: linux-kernel

On Fri, Oct 10, 2003 at 09:46:05PM -0500, Matt Domsch wrote:
> > > /sys/firmware/edd/int13_dev80/raw_data
> > Hm, I thought you were going to use the sysfs binary file interface for
> > this file, instead of outputing a hex dump.  Any reason for keeping it
> > this way?
> 
> Laziness?  No really, it just slipped my mind.  I've got the read-disk-sig 
> patch I'm working on related to EDD again, so I'll fix it right soon.  
> Would that fit under Linus's 'bug-only' policy?

I would say yes, as it's a bug that the current code is implementing a
hex dump in kernel space :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-11 17:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-09 21:39 IBM Thinkpad A21 BIOS - EDD information wrong Matt_Domsch
2003-10-10 23:56 ` Greg KH
2003-10-11  2:46   ` Matt Domsch
2003-10-11 17:30     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox