View previous topic :: View next topic |
Author |
Message |
bung-foo Tux's lil' helper
Joined: 09 Jun 2002 Posts: 146
|
Posted: Fri Feb 06, 2004 12:40 am Post subject: kernel 2.6 options for ultra 80 scsi |
|
|
I'm trying to get the 2.6.2-r2 kernel working on my ultra 80. I've got all the compiler stuff worked out and am building kernels that can be booted.
When I try to boot off the new kernel, it probes all of the luns on the two scsi channels and then panics because it can't find /. Here are the sections from my .config:
#
# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
# CONFIG_CHR_DEV_SG is not set
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_REPORT_LUNS is not set
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INIA100 is not set
CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0
CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
# CONFIG_SCSI_SYM53C8XX_IOMAPPED is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLOGICPTI is not set
CONFIG_SCSI_QLA2XXX_CONFIG=y
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA23XX is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_SUNESP is not set
I would really appreciate any insights that one of you might have about this.
Abe |
|
Back to top |
|
|
smeets_marc Tux's lil' helper
Joined: 25 Oct 2002 Posts: 98 Location: NL
|
Posted: Fri Feb 06, 2004 2:17 pm Post subject: |
|
|
Do you have the problem when lilo needs to find the drive, or when the kernel is already probing hardware? |
|
Back to top |
|
|
bung-foo Tux's lil' helper
Joined: 09 Jun 2002 Posts: 146
|
Posted: Fri Feb 06, 2004 3:23 pm Post subject: |
|
|
silo finds the kernal no problem and starts to boot. It switches to the linux console from the sunprom console. When it gets to the point where it is loading the driver for the scsi system, it searches each and every possible address and finially fails with a kernel panic that says it can't find the root device.
I have to go to school and then work but tonight I will actually write down the error's and post them in this thread.
Abe |
|
Back to top |
|
|
bung-foo Tux's lil' helper
Joined: 09 Jun 2002 Posts: 146
|
Posted: Sun Feb 08, 2004 2:55 am Post subject: |
|
|
ok here is the error message. I'm using kernel-2.6.2
sym0: <875> rev 0x14 at pci 0001:00:03.0 irq4,7e0
sym0: No NVRAM, ID 7, Fast-20,SE, parity Checking
Sym0: SCSI BUS has been reset.
Scsi0: sym-2.1.184
Using Anticipatory Scheduler
Sym0:0:0: ABORT operation started.
Sym0:0:0: ABORT operation timed-out.
Sym0:0:0: Device Reset operation started.
Sym0:0:0: Device Reset operation timed-out.
Sym0:0:0: Bus Reset operation started.
Sym0:0:0: Bus Reset operation timed-out.
It then disables the device.
It takes about 10 minutes for it to go through all of these so I just wrote down the first section. All subsequent sections have exactly the same form except the device id number increments 1.
Once it has moved through all of the possible device addresses on the first SCSI channel it moves on to the second. It never finds a device that it can work with and then it ends with a kernel panic saying that it can't mount /.
Help?
Abe |
|
Back to top |
|
|
bung-foo Tux's lil' helper
Joined: 09 Jun 2002 Posts: 146
|
Posted: Sun Feb 08, 2004 4:42 am Post subject: |
|
|
jeez this is really annoying. I tried doing make oldconfig thinking that might catch something that I'm missing but it yields the same old thing.
Abe |
|
Back to top |
|
|
smeets_marc Tux's lil' helper
Joined: 25 Oct 2002 Posts: 98 Location: NL
|
Posted: Sun Feb 08, 2004 5:06 pm Post subject: |
|
|
You are sure your scsi hardware is supported in 2.6. You are sure you do have the right scsi options enabled in the kernel config?
I really can't think of anything else, sorry. |
|
Back to top |
|
|
bung-foo Tux's lil' helper
Joined: 09 Jun 2002 Posts: 146
|
Posted: Sun Feb 08, 2004 9:08 pm Post subject: |
|
|
its the built in scsi device on my ultra 80 motherboard. I have the same kernel options chosen as I did with the 2.4 kernel and they work really well.
I don't know. Do we use devfs with the 2.6 kernel? Do all of the kernel settings in the install guide for the 2.4 kernel need to be chosen for the 2.6 kernel?
Do we still use "make clean vmlinux modules modules_install"?
Abe |
|
Back to top |
|
|
smeets_marc Tux's lil' helper
Joined: 25 Oct 2002 Posts: 98 Location: NL
|
Posted: Sun Feb 08, 2004 10:31 pm Post subject: |
|
|
bung-foo wrote: | its the built in scsi device on my ultra 80 motherboard. I have the same kernel options chosen as I did with the 2.4 kernel and they work really well.
I don't know. Do we use devfs with the 2.6 kernel? Do all of the kernel settings in the install guide for the 2.4 kernel need to be chosen for the 2.6 kernel?
Do we still use "make clean vmlinux modules modules_install"?
Abe |
I believe we use /sys instead of /dev nowadays. And the building proces was made easier, just make...?
i'm not sure, I haven't read any 2.6 documentation yet,but this is what I have heard. But when you are not sure, Linux (now I'm talking about the kernel itself) comes with excellent documentation. |
|
Back to top |
|
|
bung-foo Tux's lil' helper
Joined: 09 Jun 2002 Posts: 146
|
Posted: Mon Feb 09, 2004 3:22 pm Post subject: |
|
|
ok, I tried it without devfs but it does the same thing. Also, I was doing just 'make' but it wasn't making any modules. /lib/modules only contained a directory for the 2.4 kernel. I'm pretty frustrated with this. I think I'll just stick with the 2.4 series until there's some documentation about how to configure the 2.6 series.
Abe |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Mon Feb 09, 2004 5:32 pm Post subject: |
|
|
Does it work if you disable SMP? |
|
Back to top |
|
|
bung-foo Tux's lil' helper
Joined: 09 Jun 2002 Posts: 146
|
Posted: Tue Feb 10, 2004 3:14 pm Post subject: |
|
|
Yes. It successfully boots with smp disabled in the kernel however it fails to load all modules and my keyboard doesn't work. I even tried it with the keyboard built into the kernel but it still doesn't work.
This would be fun if I didn't feel like I'm stumbling around in a dark room that has lots of holes in the floor, with pongee sticks in them
Abe |
|
Back to top |
|
|
|