LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2008, 01:48 PM   #16
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled

Quote:
unknown-block(0,0)
As long as you get this error you miss HDD controller support.

Edit: Boot up with some good LiveCD, run lspci -v, write down all drivers in use, enable the very same drivers in your kernel, doesn't sound impossible, does it?

Edit 2: My first kernel build took 14 hrs, today's machines are not that slow, it takes less than 4 min now. Meaning start with lean kernel, disable all bells and whistles, ACPI and APM, things like that. And if you need help describe exactly to what point it boots, plus error messages.

Checklist:
1. HDD controller
2. MS partition table support
3. Root filesystem

This would suffice for IDE drives using PATA drivers.

With libata you need also SCSI and SCSI disk support.

Last edited by Emerson; 03-08-2008 at 02:00 PM.
 
Old 03-08-2008, 06:03 PM   #17
GeneralDark
Member
 
Registered: Nov 2007
Location: Sweden
Distribution: Gentoo 2007
Posts: 32

Original Poster
Rep: Reputation: 15
These is the drivers I couldnt find in the kernel, perhaps someone could identify some of the drivers for me?
However, I suspect that the IDE controller is "Intel PIIXn" (according to gentoo forums) but I'm not sure. Also the PCI Bridge (i guess) is CONFIG_PCI, but also here, not sure (do you have to select a specific PCI bridge btw?) but the rest I have no clue about.
Also, I added support for all "normal" fs available (except like minix and the misc ones), but still not able to read the drive.
Any new suggestions? :S

lspic -v:
00:00.0 Host bridge: Intel Corporation 82820 820 (Camino) Chipset Host Bridge (MCH) (rev 03)
Subsystem: Intel Corporation 82820 820 (Camino) Chipset Host Bridge (MCH)
Flags: bus master, fast devsel, latency 0
Memory at e8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0

00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000b000-0000cfff
Memory behind bridge: efc00000-efefffff
Prefetchable memory behind bridge: e5900000-e59fffff

00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02) (prog-if 80 [Master])
Subsystem: Intel Corporation 82801AA IDE Controller
Flags: bus master, medium devsel, latency 0
I/O ports at ffa0 [size=16]

00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02)
Subsystem: Intel Corporation 82801AA SMBus Controller
Flags: medium devsel
I/O ports at 0540 [size=16]

Last edited by GeneralDark; 03-08-2008 at 06:06 PM.
 
Old 03-08-2008, 06:37 PM   #18
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
That's funny, my lspci output is different:
Code:
03:00.0 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 03)
        Subsystem: Adaptec AHA-2940U/2940UW Dual
        Flags: bus master, medium devsel, latency 64, IRQ 16
        I/O ports at e400 [disabled] [size=256]
        Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at feb00000 [disabled] [size=64K]
        Kernel driver in use: aic7xxx
See that kernel driver line?
Try with lspci -vv or -vvv.
Intel Corporation 82801AA IDE Controller is your controller indeed, PIIX driver is probably the correct one. What's the PCI-ID of it? Where your boot stops now? Still the same error?
 
Old 03-08-2008, 07:22 PM   #19
GeneralDark
Member
 
Registered: Nov 2007
Location: Sweden
Distribution: Gentoo 2007
Posts: 32

Original Poster
Rep: Reputation: 15
Yeah I see that now. According to gentoo portage I'm running 2.2.10.
However I cant find any modules/drivers in the very verbose version either. Maybe you got another mod of pciutils? Or maybe it just dont work, cause I tried -k aswell without result, just acts as a normal lspci. :s

This is the ouput i get from lspci -vvv:

00:00.0 Host bridge: Intel Corporation 82820 820 (Camino) Chipset Host Bridge (MCH) (rev 03)
Subsystem: Intel Corporation 82820 820 (Camino) Chipset Host Bridge (MCH)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0
Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0
Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>

00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000b000-0000cfff
Memory behind bridge: efc00000-efefffff
Prefetchable memory behind bridge: e5900000-e59fffff
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02) (prog-if 80 [Master])
Subsystem: Intel Corporation 82801AA IDE 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: 0
Region 4: I/O ports at ffa0 [size=16]

00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02)
Subsystem: Intel Corporation 82801AA SMBus 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-
Interrupt: pin B routed to IRQ 0
Region 4: I/O ports at 0540 [size=16]


lspci -nn:
00:00.0 Host bridge [0600]: Intel Corporation 82820 820 (Camino) Chipset Host Bridge (MCH) [8086:2501] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801AA PCI Bridge [8086:2418] (rev 02)
00:1f.1 IDE interface [0101]: Intel Corporation 82801AA IDE Controller [8086:2411] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801AA SMBus Controller [8086:2413] (rev 02)
This is the PCI_ID, right?

The boots stops at the very same place as before. Still same error. :/

Last edited by GeneralDark; 03-08-2008 at 07:46 PM.
 
Old 03-08-2008, 07:36 PM   #20
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
OK, did you run lspci with -nv option as I suggested and checked it at http://kmuto.jp/debian/hcl/
 
Old 03-09-2008, 06:49 AM   #21
GeneralDark
Member
 
Registered: Nov 2007
Location: Sweden
Distribution: Gentoo 2007
Posts: 32

Original Poster
Rep: Reputation: 15
Ok, now I've checked against the database (and finally i did find the 82801aa support unde I2C! ) but I still get the same error msg when I'm trying to boot.
I have to say that all the drivers wasnt name exact as they where in the database in the kernel but I added those that looked logic for the specific device, so I dont think I screw up there.

Might be wrong in my grub.conf anyway? :S
 
Old 03-09-2008, 09:57 AM   #22
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I2C?
Database tells 8086:2411 works with PIIX. You built in PIIX and still get "unknown-block(0,0)" message? grub.conf you posted earlier is correct.

Last edited by Emerson; 03-09-2008 at 09:59 AM.
 
Old 03-09-2008, 01:08 PM   #23
GeneralDark
Member
 
Registered: Nov 2007
Location: Sweden
Distribution: Gentoo 2007
Posts: 32

Original Poster
Rep: Reputation: 15
I have support for BLK_DEV_PIIX and ATA_PIIX and still get the same error msg.
 
Old 03-09-2008, 01:24 PM   #24
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You have enabled both, not a good idea. Don't know, your HDD may be recognized as sda as a result, meaning the line root=/dev/hda3 in the grub.conf becomes wrong.

Edit: Remember, if you choose to use libata then you must enable SCSI and SCSI disk.

Last edited by Emerson; 03-09-2008 at 01:29 PM.
 
Old 03-09-2008, 03:12 PM   #25
GeneralDark
Member
 
Registered: Nov 2007
Location: Sweden
Distribution: Gentoo 2007
Posts: 32

Original Poster
Rep: Reputation: 15
Finally! Thx alot
Removed the ATA_PIIX and it works fine now=)
Or well, not fine cause there was some other problem with the filesystem but atleast it boots now. The other is a different problem and I wont bother anymore. Once again, thx alot.
 
Old 03-09-2008, 03:27 PM   #26
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Great! You are welcome.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux kernel panic issue saqis Linux - Kernel 6 05-22-2007 12:11 PM
kernel panic error after rebooting new kernel image fiero Linux - General 4 07-13-2005 08:32 AM
kernel panic after rebooting the system.Urgent.Please help. sharmashikha Linux From Scratch 3 07-07-2005 10:36 AM
Rebooting after kernel panic nbarraud *BSD 2 01-12-2005 08:35 PM
Kernel Panic: grub configuration issue(?) rickthemick Linux - General 3 11-17-2004 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration