Package: linux-image-2.6.32-5-amd64
Version: 2.6.32-35

Working on a Tyan 5382 system equipped with Debian 6.0.1 AMD64.

After inserting a common USB-based flash drive into a USB port I attempted to raw write a bootable amd64 image generated with live-build:

dd if=binary.img of=/dev/sdb

where /dev/sdb is the device name assigned to the USB flash drive.

The result was a failed write and the trace shown below.

I use live-build on i386 on Debian 6 and have not experienced this problem on that architecture.

I copied the image over to another Debian 6.0.1 AMD64 system installed on a brand-new Gigabyte GA-P67X-UD3-B3 motherboard and the problem does NOT occur. Thus, it appears to be specific to the Tyan 5382 board.

-------------------

USB controllers shown via lspci -v on Tyan 5382:

00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Device 5380
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 1800 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Device 5380
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 1820 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Device 5380
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 1840 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.3 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #4 (rev 09) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Device 5380
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at 1860 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09) (prog-if 20 [EHCI])
        Subsystem: Intel Corporation Device 5380
        Flags: bus master, medium devsel, latency 0, IRQ 17
        Memory at d8700000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Kernel driver in use: ehci_hcd

-------------------

Kernel trace:

------------[ cut here ]------------
kernel BUG at /build/buildd-linux-2.6_2.6.32-35-amd64-aZSlKL/linux-2.6-2.6.32/debian/build/source_amd64_none/mm/slub.c:2969!
invalid opcode: 0000 [#1] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4:1.0/host2/target2:0:0/2:0:0:0/block/sdb/removable
CPU 1
Modules linked in: usb_storage nls_utf8 nls_cp437 vfat fat ppdev lp sco bridge stp bnep l2cap crc16 bluetooth rfkill cpufreq_stats cpufreq_powersave cpufreq_userspace cpufreq_conservative binfmt_misc fuse loop radeon ttm drm_kms_helper drm i5000_edac i2c_algo_bit parport_pc i2c_i801 edac_core parport i2c_core rng_core pcspkr shpchp i5k_amb ioatdma psmouse dca container pci_hotplug evdev button serio_raw processor ext3 jbd mbcache sg sr_mod cdrom sd_mod crc_t10dif ata_generic uhci_hcd ata_piix libata ehci_hcd floppy e1000 e1000e scsi_mod thermal thermal_sys usbcore nls_base [last unloaded: scsi_wait_scan]
Pid: 7400, comm: usb-storage Not tainted 2.6.32-5-amd64 #1 empty
RIP: 0010:[<ffffffff810e730b>]  [<ffffffff810e730b>] kfree+0x55/0xcb
RSP: 0018:ffff88003d03bcd0  EFLAGS: 00010246
RAX: 020000000000086c RBX: ffff88012d753658 RCX: 0000000000150014
RDX: ffff88012d753658 RSI: ffffea00041f6f08 RDI: ffffea0003800000
RBP: ffff880100000000 R08: 0000000000000000 R09: ffffffff81452c20
R10: ffff880037801180 R11: ffffffff814634c0 R12: ffffffffa000ef01
R13: ffff88003d03bd5c R14: 0000000000001000 R15: 00000000c0010280
FS:  0000000000000000(0000) GS:ffff880005500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000002396000 CR3: 000000012d168000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process usb-storage (pid: 7400, threadinfo ffff88003d03a000, task ffff88012d018000)
Stack:
ffff88012d753658 ffff88012d7535a0 ffff88012d753658 ffffffffa000ef01
<0> ffff88012d7535e0 ffffffffa035d3d2 0000000000000000 ffffffff00000010
<0> ffff88003d03bd10 ffff8800b517b000 ffff880072c03000 ffff8800b517b000
Call Trace:
[<ffffffffa000ef01>] ? sg_clean+0x2f/0x64 [usbcore]
[<ffffffffa035d3d2>] ? usb_stor_bulk_transfer_sglist+0x7f/0xd1 [usb_storage]
[<ffffffffa035d441>] ? usb_stor_bulk_srb+0x1d/0x2b [usb_storage]
[<ffffffffa035d5cf>] ? usb_stor_Bulk_transport+0xf5/0x24c [usb_storage]
[<ffffffffa035ce00>] ? usb_stor_invoke_transport+0x35/0x32d [usb_storage]
[<ffffffff812fb3ff>] ? wait_for_common+0xe9/0x15b
[<ffffffff8104a450>] ? default_wake_function+0x0/0x9
[<ffffffffa035e7ba>] ? usb_stor_control_thread+0x145/0x1fb [usb_storage]
[<ffffffff8103aa76>] ? __wake_up_common+0x44/0x72
[<ffffffffa035e675>] ? usb_stor_control_thread+0x0/0x1fb [usb_storage]
[<ffffffff81064c4d>] ? kthread+0x79/0x81
[<ffffffff81011baa>] ? child_rip+0xa/0x20
[<ffffffff81064bd4>] ? kthread+0x0/0x81
[<ffffffff81011ba0>] ? child_rip+0x0/0x20
Code: 83 c3 08 48 83 3b 00 eb ec 48 83 fd 10 0f 86 89 00 00 00 48 89 ef e8 b9 e8 ff ff 48 89 c7 48 8b 00 84 c0 78 13 66 a9 00 c0 75 04 <0f> 0b eb fe 5b 5d 41 5c e9 98 56 fd ff 48 8b 4c 24 18 4c 8b 4f
RIP  [<ffffffff810e730b>] kfree+0x55/0xcb
RSP <ffff88003d03bcd0>
---[ end trace e69b8894206b1840 ]---

--
Doug Vetter
Packetstorm Communications, Inc.
732-544-2434 x201



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to